mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Made the aff array 'static const'
This commit is contained in:
parent
e59b5bf1af
commit
e6068912a4
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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"
|
#include "recorder.h"
|
||||||
@ -109,7 +109,7 @@ void cRecorder::Activate(bool On)
|
|||||||
void cRecorder::Receive(const uchar *Data, int Length)
|
void cRecorder::Receive(const uchar *Data, int Length)
|
||||||
{
|
{
|
||||||
if (Running()) {
|
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,
|
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user