mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
flacparse: fix picture parsing
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
parent
65f620af8e
commit
b6f1e8aa68
1 changed files with 3 additions and 0 deletions
|
@ -1040,6 +1040,9 @@ gst_flac_parse_handle_picture (GstFlacParse * flacparse, GstBuffer * buffer)
|
|||
guint32 img_len = 0, img_type = 0;
|
||||
guint32 img_mimetype_len = 0, img_description_len = 0;
|
||||
|
||||
if (!gst_byte_reader_skip (&reader, 4))
|
||||
goto error;
|
||||
|
||||
if (!gst_byte_reader_get_uint32_be (&reader, &img_type))
|
||||
goto error;
|
||||
|
||||
|
|
Loading…
Reference in a new issue