diff options
author | Rémi Denis-Courmont <remi@remlab.net> | 2024-06-27 21:21:29 +0300 |
---|---|---|
committer | Rémi Denis-Courmont <remi@remlab.net> | 2024-06-30 19:02:32 +0300 |
commit | 349c49fd1bc5ae2d81ea8d93e0b31823fe8b2c59 (patch) | |
tree | cbee02747e2541756c8d7abad697ca57f796b373 /libavcodec/hevc/pred.c | |
parent | 2c900d4c11199561673cbffadeebb5cff62a7d8c (diff) | |
download | ffmpeg-349c49fd1bc5ae2d81ea8d93e0b31823fe8b2c59.tar.gz |
lavc/vc1dsp: fix overflow in R-V V inv_trans_8
The last set of additions/subtractions can break the 16-bit limit, and
require 17 bits of precision. This uses widening adds accordingly to fix
the MSS2 FATE tests.
The problem potentially also affects inv_trans_4 with a very low
probability, but this is not reproducible under FATE.
Diffstat (limited to 'libavcodec/hevc/pred.c')
0 files changed, 0 insertions, 0 deletions