avcodec/x86/mpegvideodsp: Fix signedness bug in need_emu
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 13 Nov 2017 19:47:48 +0000 (20:47 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 14 Nov 2017 03:54:31 +0000 (04:54 +0100)
commit58cf31cee7a456057f337b3102a03206d833d5e8
tree9c791174aea94b5eba5b6c8b95531a08fd707196
parent880b299381de1e66f8248abd6c320c7c490466a2
avcodec/x86/mpegvideodsp: Fix signedness bug in need_emu

Fixes: out of array read
Fixes: 3516/attachment-311488.dat

Found-by: Insu Yun, Georgia Tech.
Tested-by: wuninsu@gmail.com
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/x86/mpegvideodsp.c