aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-07-25 00:57:50 +0200
committerghost <andreas.monzner@multimedia-labs.de>2009-07-25 00:57:50 +0200
commitcddb13ae57507610df08f5f11e0b19a7e36f63cb (patch)
tree3227e71832a559aa6015c1b22b5c4f1a50842202 /lib/dvb
parent3bad2c1636a3e2e2809cd211cb8c3775a0ef3902 (diff)
downloadenigma2-cddb13ae57507610df08f5f11e0b19a7e36f63cb.tar.gz
enigma2-cddb13ae57507610df08f5f11e0b19a7e36f63cb.zip
subtitle.cpp: return correct size of consumed bytes
Diffstat (limited to 'lib/dvb')
-rw-r--r--lib/dvb/subtitle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/dvb/subtitle.cpp b/lib/dvb/subtitle.cpp
index 87dadba5..3787ab1b 100644
--- a/lib/dvb/subtitle.cpp
+++ b/lib/dvb/subtitle.cpp
@@ -243,17 +243,17 @@ int eDVBSubtitleParser::subtitle_process_pixel_data(subtitle_page *page, int obj
bitstream_init(&bit, data, 4);
for ( int i=0; i < 4; ++i )
bitstream_get(&bit);
- break;
+ return 2 + 1;
case 0x21: // ignore 2 -> 8bit map table
bitstream_init(&bit, data, 8);
for ( int i=0; i < 4; ++i )
bitstream_get(&bit);
- break;
+ return 4 + 1;
case 0x22: // ignore 4 -> 8bit map table
bitstream_init(&bit, data, 8);
for ( int i=0; i < 16; ++i )
bitstream_get(&bit);
- break;
+ return 16 + 1;
case 0xF0:
subtitle_process_line(page, object_id, *linenr, line, *linep);
/* {