mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-02 00:32:43 +00:00
ac3parse: fix obvious crash
This commit is contained in:
parent
a49818f876
commit
cf771ab7ae
1 changed files with 1 additions and 0 deletions
|
@ -500,6 +500,7 @@ gst_ac3_parse_check_valid_frame (GstBaseParse * parse,
|
|||
if (G_UNLIKELY (size < 6))
|
||||
goto cleanup;
|
||||
|
||||
gst_byte_reader_init (&reader, data, size);
|
||||
off = gst_byte_reader_masked_scan_uint32 (&reader, 0xffff0000, 0x0b770000,
|
||||
0, size);
|
||||
|
||||
|
|
Loading…
Reference in a new issue