summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Eckhardt <uli@uli-eckhardt.de>2017-05-12 18:06:54 +0200
committerUlrich Eckhardt <uli@uli-eckhardt.de>2017-05-12 18:06:54 +0200
commit3b55f61a87003a2fe0ea8dace4e9867761853bf6 (patch)
tree899e73451392e5578fab4ec7e0b09c0adca54f57
parent003880f9d2902dd5818645eaeacfd173a5d94f11 (diff)
downloadvdr-plugin-radio-3b55f61a87003a2fe0ea8dace4e9867761853bf6.tar.gz
vdr-plugin-radio-3b55f61a87003a2fe0ea8dace4e9867761853bf6.tar.bz2
Fix compileproblem on VDR2.2.0
-rwxr-xr-xradioaudio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/radioaudio.c b/radioaudio.c
index 2bd33ef..19e63a2 100755
--- a/radioaudio.c
+++ b/radioaudio.c
@@ -274,7 +274,11 @@ cRDSReceiver::~cRDSReceiver()
dsyslog("radio: additional RDS-Receiver stopped");
}
+#if VDRVERSNUM >= 20300
void cRDSReceiver::Receive(const uchar *Data, int Length)
+#else
+void cRDSReceiver::Receive(uchar *Data, int Length)
+#endif
{
const int mframel = 263; // max. 255(MSG)+4(ADD/SQC/MFL)+2(CRC)+2(Start/Stop) of RDS-data
static unsigned char mtext[mframel+1];