summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-09-12 14:56:15 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2015-09-12 14:56:15 +0200
commite6068912a441808e331f5238df2810d057b6fe12 (patch)
tree4267a98301a4a99a6902e05325b5e4f355f637fb
parente59b5bf1afb180a710f09c3b44338425aae07d13 (diff)
downloadvdr-e6068912a441808e331f5238df2810d057b6fe12.tar.gz
vdr-e6068912a441808e331f5238df2810d057b6fe12.tar.bz2
Made the aff array 'static const'
-rw-r--r--recorder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/recorder.c b/recorder.c
index 1103f198..896ec939 100644
--- a/recorder.c
+++ b/recorder.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recorder.c 4.3 2015/09/11 11:18:40 kls Exp $
+ * $Id: recorder.c 4.4 2015/09/12 14:56:15 kls Exp $
*/
#include "recorder.h"
@@ -109,7 +109,7 @@ void cRecorder::Activate(bool On)
void cRecorder::Receive(const uchar *Data, int Length)
{
if (Running()) {
- static uchar aff[TS_SIZE - 4] = { 0xB7, 0x00,
+ static const uchar aff[TS_SIZE - 4] = { 0xB7, 0x00,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,