asfdemux: Add sanity checks when reading asf_stream_video_format
authorEdward Hervey <edward@centricular.com>
Fri, 25 Nov 2016 08:45:04 +0000 (09:45 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 25 Nov 2016 09:07:21 +0000 (10:07 +0100)
commit8f05e8f44979c84aaf06f0c817e76eb44b28de50
tree86d3654ac4539293f319b585ac7ef563996216bc
parent97294eb8bbed1b9dad7d3f2c52dd69eb1812cc06
asfdemux: Add sanity checks when reading asf_stream_video_format

It should report a size of at least 40 bytes
Also check for the size of the remaining data (i.e. codec_data)

https://bugzilla.gnome.org/show_bug.cgi?id=775070
gst/asfdemux/gstasfdemux.c