aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/snow_dwt.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2020-05-10 11:34:53 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2020-07-01 13:33:44 +0200
commit3f686f6a7d01539e44aabb22a09bde90089db6b4 (patch)
treeccb7a88c5072cf15cf89caf2ca031d3c9b4a93cc /libavcodec/snow_dwt.c
parent3ee001de6f71a66f52d539022a5d9b5b2ca2f735 (diff)
downloadffmpeg-3f686f6a7d01539e44aabb22a09bde90089db6b4.tar.gz
avcodec/g729postfilter: Clip gain before scaling with AGC_FAC1
The fixed point integer reference specifies the multiplication used to have 16bit input and clips so we need to clip the input The floating point implementation does not seem to do that. Fixes: signed integer overflow: 6317568 * 410 cannot be represented in type 'int' Fixes: 20492/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G729_fuzzer-5700189272932352 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 82d4c7b95ed98d38aa834ef5a8fb1d2ef3901698) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/snow_dwt.c')
0 files changed, 0 insertions, 0 deletions