avcodec/pcm: Fix invalid shift in AV_CODEC_ID_PCM_LXF
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 20 Feb 2020 21:26:18 +0000 (22:26 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 21 Feb 2020 20:42:11 +0000 (21:42 +0100)
commit051d11f659455f38be7ce40e2dc9d03b082dcd4d
tree0a18df3611f95c6ba900c607b21040e2ab6f2fd1
parentd2aff350bc8250d1efe04e90822f49f4b8aea9ae
avcodec/pcm: Fix invalid shift in AV_CODEC_ID_PCM_LXF

Fixes: left shift of 233 by 24 places cannot be represented in type 'int'
Fixes: 20736/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PCM_LXF_fuzzer-4829212685107200

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/pcm.c