vqavideo: check chunk sizes before reading chunks
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 25 Jan 2013 05:11:59 +0000 (06:11 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 25 Jan 2013 05:12:56 +0000 (06:12 +0100)
commitab6c9332bfa1e20127a16392a0b85a4aa4840889
tree27a1b8e3eff5855a2a749ec00f3f0aae14bfead9
parente9d443cf08503f7bd0149576ba9e891322de340d
vqavideo: check chunk sizes before reading chunks

Fixes out of array writes

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vqavideo.c