From e6068912a441808e331f5238df2810d057b6fe12 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 12 Sep 2015 14:56:15 +0200 Subject: Made the aff array 'static const' --- recorder.c | 4 ++-- 1 file 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, -- cgit v1.2.3