avcodec/mpegaudiodec_template: Make l3_unscale() work with e=0
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 13 Mar 2017 19:45:09 +0000 (20:45 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 14 Mar 2017 21:48:49 +0000 (22:48 +0100)
commit8ebed703f153e979edb2156754c8bdac4d5d6266
treec0ab01559dd90aa0cad642652a409dca13493309
parent108b02e5471c1dae248200db694aba9b7b8555a8
avcodec/mpegaudiodec_template: Make l3_unscale() work with e=0

Fixes undefined behavior
Fixes: 830/clusterfuzz-testcase-6253175327686656

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