aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rangecoder.c
diff options
context:
space:
mode:
authorLinjie Fu <linjie.fu@intel.com>2020-03-05 15:47:37 +0800
committerAnton Khirnov <anton@khirnov.net>2020-03-27 10:57:40 +0100
commit0da14ed09e557bd672881d35fd47c2d18df4ad4e (patch)
tree122d4ae6fb0a814bc7eec28ff877ae36cc739c78 /libavcodec/rangecoder.c
parent091341f2ab5bd35ca1a2aae90503adc74f8d3523 (diff)
downloadffmpeg-0da14ed09e557bd672881d35fd47c2d18df4ad4e.tar.gz
lavc/x86/hevc_add_res: Fix overflow in ADD_RES_MMX_4_8
Fix overflow for coeff -32768 in function ADD_RES_MMX_4_8 with no performance drop. ./checkasm --test=hevc_add_res --bench Mainline: - hevc_add_res.add_residual [OK] hevc_add_res_4x4_8_mmxext: 15.5 Add overflow test case: - hevc_add_res.add_residual [FAILED] After: - hevc_add_res.add_residual [OK] hevc_add_res_4x4_8_mmxext: 15.0 Signed-off-by: Xu Guangxin <guangxin.xu@intel.com> Signed-off-by: Linjie Fu <linjie.fu@intel.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/rangecoder.c')
0 files changed, 0 insertions, 0 deletions