diff options
Diffstat (limited to 'gst-libs/gst/riff/riff-read.c')
-rw-r--r-- | gst-libs/gst/riff/riff-read.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst-libs/gst/riff/riff-read.c b/gst-libs/gst/riff/riff-read.c index fbbbae26..21cdbbca 100644 --- a/gst-libs/gst/riff/riff-read.c +++ b/gst-libs/gst/riff/riff-read.c @@ -600,6 +600,9 @@ gst_riff_read_strf_vids_with_data (GstRiffRead * riff, if (len > 0) { *extradata = gst_buffer_create_sub (buf, strf->size, len); } + } else if (strf->size > sizeof (gst_riff_strf_vids)) { + *extradata = gst_buffer_create_sub (buf, + sizeof (gst_riff_strf_vids), strf->size - sizeof (gst_riff_strf_vids)); } /* debug */ |