From 9ce40a1d4321284356a065f02bed2f1da110ab81 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Wed, 26 Mar 2008 00:02:58 +0000 Subject: [PATCH 1/1] removed unused variables 'cnt' and 'protection_bit' --- lib/dvb/radiotext.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/dvb/radiotext.cpp b/lib/dvb/radiotext.cpp index d4cc235..1a8ffd5 100644 --- a/lib/dvb/radiotext.cpp +++ b/lib/dvb/radiotext.cpp @@ -139,7 +139,6 @@ void eDVBRdsDecoder::removeFromPictureMask(int id) void eDVBRdsDecoder::processPESPacket(__u8 *data, int len) { int pos=9+data[8];// skip pes header - int cnt=0; while (pos < len) { @@ -151,7 +150,7 @@ void eDVBRdsDecoder::processPESPacket(__u8 *data, int len) int channel = mode == 3 ? 1 : 2; int id = (data[pos + 1] >> 3) & 1; int emphasis_bit = data[pos + 3] & 3; - int protection_bit = data[pos + 1] & 1; + //int protection_bit = data[pos + 1] & 1; int rate = -1; int sample_freq = -1; int layer = -1; -- 2.7.4