avcodec/ac3dec: Fix shift signedness in mask creation
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 21 Sep 2018 00:36:50 +0000 (02:36 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 21 Sep 2018 22:12:27 +0000 (00:12 +0200)
commit148a21611d856609fc034147f4a27cfdb6d90ff4
tree6bef9f0f749a824532ae8391309a3c42e1f13069
parentfe315feab59f2f99765547096357826bc9454d24
avcodec/ac3dec: Fix shift signedness in mask creation

Fixes: 9924/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EAC3_fuzzer-5473421772193792
Fixes: left shift of 1 by 63 places cannot be represented in type 'long long'

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ac3dec.c