From 50d268538ee714e8e3f88bba0e952c33a75d3777 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 5 Sep 2015 11:49:56 +0200 Subject: Added a missing 'const' to cReceiver::Receive(), to protect the given Data from being modified --- transfer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'transfer.c') diff --git a/transfer.c b/transfer.c index eb07e829..d0e7ed46 100644 --- a/transfer.c +++ b/transfer.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: transfer.c 3.1 2013/08/22 12:33:02 kls Exp $ + * $Id: transfer.c 4.1 2015/09/05 11:43:58 kls Exp $ */ #include "transfer.h" @@ -38,7 +38,7 @@ void cTransfer::Activate(bool On) #define MAXRETRIES 20 // max. number of retries for a single TS packet #define RETRYWAIT 5 // time (in ms) between two retries -void cTransfer::Receive(uchar *Data, int Length) +void cTransfer::Receive(const uchar *Data, int Length) { if (cPlayer::IsAttached()) { // Transfer Mode means "live tv", so there's no point in doing any additional -- cgit v1.2.3