Browse Source

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

Fixes: 648/clusterfuzz-testcase-5337961317007360

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.3
Michael Niedermayer 8 years ago
parent
commit
5a8fec1b33
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mpegaudiodec_template.c

+ 1
- 1
libavcodec/mpegaudiodec_template.c View File

@@ -459,7 +459,7 @@ static av_cold int decode_init(AVCodecContext * avctx)
cases. */ cases. */
static void imdct12(INTFLOAT *out, INTFLOAT *in) static void imdct12(INTFLOAT *out, INTFLOAT *in)
{ {
INTFLOAT in0, in1, in2, in3, in4, in5, t1, t2;
SUINTFLOAT in0, in1, in2, in3, in4, in5, t1, t2;


in0 = in[0*3]; in0 = in[0*3];
in1 = in[1*3] + in[0*3]; in1 = in[1*3] + in[0*3];


Loading…
Cancel
Save