diff options
Diffstat (limited to 'gst-libs/gst/riff/riff-read.c')
-rw-r--r-- | gst-libs/gst/riff/riff-read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/riff/riff-read.c b/gst-libs/gst/riff/riff-read.c index 54e79ff0..97c51f0d 100644 --- a/gst-libs/gst/riff/riff-read.c +++ b/gst-libs/gst/riff/riff-read.c @@ -582,9 +582,9 @@ gst_riff_read_strf_vids_with_data (GstRiffRead * riff, } else if (strf->size < GST_BUFFER_SIZE (buf)) { gint len; - len = GST_BUFFER_SIZE (buf) - strf->size - 2; + len = GST_BUFFER_SIZE (buf) - strf->size; if (len > 0) { - *extradata = gst_buffer_create_sub (buf, strf->size + 2, len); + *extradata = gst_buffer_create_sub (buf, strf->size, len); } } |