mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 07:38:16 +00:00
tsdemux: Fix parsing P-STD_buffer in PES header
https://bugzilla.gnome.org/show_bug.cgi?id=686294
This commit is contained in:
parent
b1cd1e7a88
commit
9640669689
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ mpegts_parse_pes_header (const guint8 * data, gsize length, PESHeader * res,
|
|||
if (G_UNLIKELY (length < 2))
|
||||
goto need_more_data;
|
||||
val8 = *data;
|
||||
if (G_UNLIKELY ((val8 * 0xc0) != 0x40))
|
||||
if (G_UNLIKELY ((val8 & 0xc0) != 0x40))
|
||||
goto bad_P_STD_marker;
|
||||
res->P_STD_buffer_size =
|
||||
(GST_READ_UINT16_BE (data) & 0x1fff) << (val8 & 0x20) ? 10 : 7;
|
||||
|
|
Loading…
Reference in a new issue