aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/midivid.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2023-09-07 02:13:13 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2023-09-22 23:47:40 +0200
commit6580a7b2b27973947118482235a2eb1214d968a2 (patch)
tree7c1aa5ea57e37fa1005399b95b499bd2790acd62 /libavcodec/midivid.c
parentf1954ff8d13b7d72cbdfe9515b7ae130d65bc2b0 (diff)
downloadffmpeg-6580a7b2b27973947118482235a2eb1214d968a2.tar.gz
avcodec/celp_math: avoid overflow in shift
by making gain unsigned we have 1 bit more available alternatively we can clip twice as in the g729 reference Fixes: left shift of 23404 by 17 places cannot be represented in type 'int' Fixes: 61728/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ACELP_KELVIN_fuzzer-6280412547383296 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/midivid.c')
0 files changed, 0 insertions, 0 deletions