avcodec/hnm4video: check that packetsize is at least 8
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Nov 2013 15:37:50 +0000 (16:37 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Nov 2013 16:02:00 +0000 (17:02 +0100)
commitba992711f79ccfba4ff0b305215d7056faf0ed0d
treeafd06987a6b7805afe090a72a6e36b166a46fbac
parent7865759409b27089b444bc029b2b76b06161b2cf
avcodec/hnm4video: check that packetsize is at least 8

Fixes integer overflow and assertion failure
Fixes: signal_sigabrt_7ffff7126425_1243_CASSE.HNM

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