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>
Fri, 1 Dec 2017 23:28:59 +0000 (00:28 +0100)
commitb8a6b5602762e540fbac982cbc3689fa0d2768de
tree517cba214b7aa105e2e69e106aa27cb1ca4dcd9b
parent91aadc6a5b8e295dd649c430e9a994226dc002be
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>
(cherry picked from commit 58cf31cee7a456057f337b3102a03206d833d5e8)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/x86/mpegvideodsp.c