Fixes: 2195/clusterfuzz-testcase-minimized-4736721533009920
Showing the changes to libavcodec/aacdec_fixed.c (1 of 1 file). Show all
Unified · Split
| @@ -389,7 +389,7 @@ static void apply_dependent_coupling_fixed(AACContext *ac, · 388 unmodified lines | |||
| 389 | for (k = offsets[i]; k < offsets[i + 1]; k++) { | 389 | for (k = offsets[i]; k < offsets[i + 1]; k++) { |
| 390 | tmp = (int)(((int64_t)src[group * 128 + k] * c + \ | 390 | tmp = (int)(((int64_t)src[group * 128 + k] * c + \ |
| 391 | (int64_t)0x1000000000) >> 37); | 391 | (int64_t)0x1000000000) >> 37); |
| 392 | dest[group * 128 + k] += tmp << shift; | 392 | dest[group * 128 + k] += tmp * (1 << shift); |
| 393 | } | 393 | } |
| 394 | } | 394 | } |
| 395 | } | 395 | } |