asvdec: Verify the amount of extradata
authorMartin Storsjö <martin@martin.st>
Thu, 19 Sep 2013 12:14:56 +0000 (15:14 +0300)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 4 Oct 2013 01:26:27 +0000 (03:26 +0200)
commit5358f1b50753638628fa5b99afd4b7da20d62e22
treeefa49a3464527b98f8d7edba16e7e3f5cd2bd6f5
parentde75bc01cda53acfbd9f901639695ade8e650c43
asvdec: Verify the amount of extradata

The init function reads one byte of extradata.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit f50803354c6acb4575379d7c54ca48ec5d36dd61)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/asvdec.c