diff options
author | Zaheer Abbas Merali <zaheerabbas@merali.org> | 2008-07-10 09:20:23 +0000 |
---|---|---|
committer | Zaheer Abbas Merali <zaheerabbas@merali.org> | 2008-07-10 09:20:23 +0000 |
commit | 7420b9748ee6ce8fe08e2b8b4183b10fa1feb0ef (patch) | |
tree | 7a749eff729b91bc3e0934daadc14e5f7c703a3e | |
parent | 925ee0d23fc0778573e7e08848dc89acfe1d90d1 (diff) | |
download | gst-plugins-bad-7420b9748ee6ce8fe08e2b8b4183b10fa1feb0ef.tar.gz gst-plugins-bad-7420b9748ee6ce8fe08e2b8b4183b10fa1feb0ef.tar.bz2 gst-plugins-bad-7420b9748ee6ce8fe08e2b8b4183b10fa1feb0ef.zip |
gst/mpegtsparse/gstmpegdesc.h: Fix extended event descriptor parsing, out by 1 in position of text length.
Original commit message from CVS:
* gst/mpegtsparse/gstmpegdesc.h:
Fix extended event descriptor parsing, out by 1 in position of
text length.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gst/mpegtsparse/gstmpegdesc.h | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2008-07-10 Zaheer Abbas Merali <zaheerabbas at merali dot org> + + * gst/mpegtsparse/gstmpegdesc.h: + Fix extended event descriptor parsing, out by 1 in position of + text length. + 2008-07-09 Stefan Kost <ensonic@users.sf.net> * gst/festival/gstfestival.c: diff --git a/gst/mpegtsparse/gstmpegdesc.h b/gst/mpegtsparse/gstmpegdesc.h index 0513fa94..12b8377d 100644 --- a/gst/mpegtsparse/gstmpegdesc.h +++ b/gst/mpegtsparse/gstmpegdesc.h @@ -272,8 +272,8 @@ #define DESC_DVB_EXTENDED_EVENT_iso639_language_code(desc) (desc + 3) #define DESC_DVB_EXTENDED_EVENT_items_length(desc) (desc[6]) #define DESC_DVB_EXTENDED_EVENT_items(desc) (desc + 7) -#define DESC_DVB_EXTENDED_EVENT_text_length(desc) (desc[6 + DESC_DVB_EXTENDED_EVENT_items_length(desc)]) -#define DESC_DVB_EXTENDED_EVENT_text(desc) (desc + 6 + DESC_DVB_EXTENDED_EVENT_items_length(desc) + 1) +#define DESC_DVB_EXTENDED_EVENT_text_length(desc) (desc[7 + DESC_DVB_EXTENDED_EVENT_items_length(desc)]) +#define DESC_DVB_EXTENDED_EVENT_text(desc) (desc + 7 + DESC_DVB_EXTENDED_EVENT_items_length(desc) + 1) /* DVB Satellite Delivery System Descriptor */ #define DESC_DVB_SATELLITE_DELIVERY_SYSTEM_frequency(desc) (desc + 2) |