Commit 3b0b3515 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/mpegaudiodec_template: Fix runtime error: signed integer overflow:...

avcodec/mpegaudiodec_template: Fix runtime error: signed integer overflow: 2053224902 + 2053224902 cannot be represented in type 'int'

Fixes: 696/clusterfuzz-testcase-5853632270434304

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpegSigned-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 4b72d5cd
......@@ -457,7 +457,7 @@ static av_cold int decode_init(AVCodecContext * avctx)
/* 12 points IMDCT. We compute it "by hand" by factorizing obvious
cases. */
static void imdct12(INTFLOAT *out, INTFLOAT *in)
static void imdct12(INTFLOAT *out, SUINTFLOAT *in)
{
SUINTFLOAT in0, in1, in2, in3, in4, in5, t1, t2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment