mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
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.
This commit is contained in:
parent
925ee0d23f
commit
7420b9748e
2 changed files with 8 additions and 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:
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue