vqavideo: check the version
authorLuca Barbato <lu_zero@gentoo.org>
Thu, 27 Jun 2013 01:19:05 +0000 (03:19 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 24 Aug 2013 09:28:07 +0000 (11:28 +0200)
commitfb1823e17807294ba0ab89b28f744ba73856009f
tree647f76bc9985060d591c6240f5a8a8202885268c
parenta747cf8873ee8e4cb229b215fd3356f374488c12
vqavideo: check the version

Prevent out of buffer write.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit c4abc9098cacb227dba39bac6aea16b2bceba0d0)

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/vqavideo.c