git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7bc48e
)
removed unused variables 'cnt' and 'protection_bit'
author
Andreas Oberritter
<obi@opendreambox.org>
Wed, 26 Mar 2008 00:02:58 +0000
(
00:02
+0000)
committer
Andreas Oberritter
<obi@opendreambox.org>
Wed, 26 Mar 2008 00:02:58 +0000
(
00:02
+0000)
lib/dvb/radiotext.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/radiotext.cpp
b/lib/dvb/radiotext.cpp
index d4cc23580d8c0b8447f33a4f05a218cfab9737ee..1a8ffd51695e7fcbae00322b70639cd583729f70 100644
(file)
--- 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;