git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update sv, hy, lt, pl, fr language
[enigma2.git]
/
lib
/
dvb
/
radiotext.cpp
diff --git
a/lib/dvb/radiotext.cpp
b/lib/dvb/radiotext.cpp
index 3e057194dec6ef41a9a9c68fce63663c316a958d..1a8ffd51695e7fcbae00322b70639cd583729f70 100644
(file)
--- a/
lib/dvb/radiotext.cpp
+++ b/
lib/dvb/radiotext.cpp
@@
-12,6
+12,7
@@
eDVBRdsDecoder::eDVBRdsDecoder(iDVBDemux *demux)
setStreamID(0xC0, 0xC0);
memset(rass_picture_mask, 0, sizeof(rass_picture_mask));
setStreamID(0xC0, 0xC0);
memset(rass_picture_mask, 0, sizeof(rass_picture_mask));
+ memset(rtp_item, 0, sizeof(rtp_item));
if (demux->createPESReader(eApp, m_pes_reader))
eDebug("failed to create PES reader!");
if (demux->createPESReader(eApp, m_pes_reader))
eDebug("failed to create PES reader!");
@@
-138,7
+139,6
@@
void eDVBRdsDecoder::removeFromPictureMask(int id)
void eDVBRdsDecoder::processPESPacket(__u8 *data, int len)
{
int pos=9+data[8];// skip pes header
void eDVBRdsDecoder::processPESPacket(__u8 *data, int len)
{
int pos=9+data[8];// skip pes header
- int cnt=0;
while (pos < len)
{
while (pos < len)
{
@@
-150,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 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;
int rate = -1;
int sample_freq = -1;
int layer = -1;