You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
vp9: fix type of iadst4_1d intermediates.
Fixes integer overflows for extreme coefficient values in 10/12bpp content.
This commit is contained in:
@@ -1186,7 +1186,7 @@ static av_always_inline void idct4_1d(const dctcoef *in, ptrdiff_t stride,
|
||||
static av_always_inline void iadst4_1d(const dctcoef *in, ptrdiff_t stride,
|
||||
dctcoef *out, int pass)
|
||||
{
|
||||
int t0, t1, t2, t3;
|
||||
dctint t0, t1, t2, t3;
|
||||
|
||||
t0 = 5283 * IN(0) + 15212 * IN(2) + 9929 * IN(3);
|
||||
t1 = 9929 * IN(0) - 5283 * IN(2) - 15212 * IN(3);
|
||||
|
Reference in New Issue
Block a user