avcodec/lagarith: fix integer overflow
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 11 Nov 2014 02:19:11 +0000 (03:19 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 11 Nov 2014 02:19:49 +0000 (03:19 +0100)
commit35dcc8a0405788de392ed116dd628aef2772003d
tree7f9ef7e4df4a980ddef0ca0f3d0e664ef4ee6527
parent685f7227dc83df9930e2a5a4d359b51b23cfc0ee
avcodec/lagarith: fix integer overflow

Fixes: asan_heap-oob_1bf48fa_2513_lag-yuy2.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/lagarith.c