mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
mpegts: Fix Bouquet Name parsing
the field is not length prefixed
This commit is contained in:
parent
2240630b04
commit
42c061b0e7
1 changed files with 2 additions and 1 deletions
|
@ -409,7 +409,8 @@ gst_mpegts_descriptor_parse_dvb_bouquet_name (const GstMpegTsDescriptor *
|
||||||
|
|
||||||
data = (guint8 *) descriptor->data + 2;
|
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;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue