mpegts: Fix Bouquet Name parsing
the field is not length prefixed
This commit is contained in:
parent
2240630b04
commit
42c061b0e7
@ -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…
x
Reference in New Issue
Block a user