mpegts: Fix Bouquet Name parsing

the field is not length prefixed
This commit is contained in:
Edward Hervey 2014-05-26 11:54:50 +02:00
parent 2240630b04
commit 42c061b0e7

View file

@ -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;
}