mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
riff: fixup 0.11 port mishap in reading extra data length field
Fixes #679437.
This commit is contained in:
parent
924139f589
commit
713b80f191
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ gst_riff_parse_strf_auds (GstElement * element,
|
|||
if (info.size > sizeof (gst_riff_strf_auds) + 2) {
|
||||
gint len;
|
||||
|
||||
len = GST_READ_UINT16_LE (&data[16]);
|
||||
len = GST_READ_UINT16_LE (&info.data[16]);
|
||||
if (len + 2 + sizeof (gst_riff_strf_auds) > info.size) {
|
||||
GST_WARNING_OBJECT (element,
|
||||
"Extradata indicated %d bytes, but only %" G_GSSIZE_FORMAT
|
||||
|
|
Loading…
Reference in a new issue