diff options
| author | Andreas Oberritter <obi@opendreambox.org> | 2008-03-26 00:02:58 +0000 |
|---|---|---|
| committer | Andreas Oberritter <obi@opendreambox.org> | 2008-03-26 00:02:58 +0000 |
| commit | 9ce40a1d4321284356a065f02bed2f1da110ab81 (patch) | |
| tree | ee7a2377ef22ba58b8620388fce821f438d3c4f0 /lib/dvb | |
| parent | f7bc48ee3a738ec6edb3e7eedec753b106f945f9 (diff) | |
| download | enigma2-9ce40a1d4321284356a065f02bed2f1da110ab81.tar.gz enigma2-9ce40a1d4321284356a065f02bed2f1da110ab81.zip | |
removed unused variables 'cnt' and 'protection_bit'
Diffstat (limited to 'lib/dvb')
| -rw-r--r-- | lib/dvb/radiotext.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/dvb/radiotext.cpp b/lib/dvb/radiotext.cpp index d4cc2358..1a8ffd51 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; |
