projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2240630
)
mpegts: Fix Bouquet Name parsing
author
Edward Hervey
<bilboed@bilboed.com>
Mon, 26 May 2014 09:54:50 +0000
(11:54 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Mon, 26 May 2014 09:54:50 +0000
(11:54 +0200)
the field is not length prefixed
gst-libs/gst/mpegts/gst-dvb-descriptor.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/mpegts/gst-dvb-descriptor.c
b/gst-libs/gst/mpegts/gst-dvb-descriptor.c
index
8d4c81a
..
47c64e9
100644
(file)
--- a/
gst-libs/gst/mpegts/gst-dvb-descriptor.c
+++ b/
gst-libs/gst/mpegts/gst-dvb-descriptor.c
@@
-409,7
+409,8
@@
gst_mpegts_descriptor_parse_dvb_bouquet_name (const GstMpegTsDescriptor *
data = (guint8 *) descriptor->data + 2;
- *bouquet_name = get_encoding_and_convert ((const gchar *) data + 1, *data);
+ *bouquet_name =
+ get_encoding_and_convert ((const gchar *) data, descriptor->length);
return TRUE;
}