imc: sanity check scalefactors.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 13 Nov 2012 23:01:56 +0000 (00:01 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 13 Nov 2012 23:03:42 +0000 (00:03 +0100)
commit2f74f8d7dce2baff3a4401130a8e479c2899fd16
tree3fdfeb4988d5f4ea9f46f0885682ed00891d2042
parent1f1960519a1700985b5f645a2950c10581f78a73
imc: sanity check scalefactors.

This fixes undefined behavior

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