diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-09-12 14:56:15 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-09-12 14:56:15 +0200 |
commit | e6068912a441808e331f5238df2810d057b6fe12 (patch) | |
tree | 4267a98301a4a99a6902e05325b5e4f355f637fb /recorder.c | |
parent | e59b5bf1afb180a710f09c3b44338425aae07d13 (diff) | |
download | vdr-e6068912a441808e331f5238df2810d057b6fe12.tar.gz vdr-e6068912a441808e331f5238df2810d057b6fe12.tar.bz2 |
Made the aff array 'static const'
Diffstat (limited to 'recorder.c')
-rw-r--r-- | recorder.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |