avcodec/vp3dsp: Fix multiple signed integer overflow: 46341 * 47523 cannot be represented in type 'int'
Fixes: 664/clusterfuzz-testcase-4917047475568640
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 2b8b7921c5)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
bf780cbd99
commit
d7d2a121a3
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@
|
|||
#define xC6S2 25080
|
||||
#define xC7S1 12785
|
||||
|
||||
#define M(a, b) (((a) * (b)) >> 16)
|
||||
#define M(a, b) ((int)((SUINT)(a) * (b)) >> 16)
|
||||
|
||||
static av_always_inline void idct(uint8_t *dst, int stride,
|
||||
int16_t *input, int type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue