avcodec/mpegaudiodec_template: Check for negative e
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 8 Mar 2017 20:25:13 +0000 (21:25 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 9 Mar 2017 19:37:10 +0000 (20:37 +0100)
commit58dd25f8adb151a59971daa94d352d3226d2dbb6
tree8f7b82d59a75ad669ffb39d1f4578286e69190b3
parent5cd3cd5b6872eda1775aa2ddb34fc23ca03c6c85
avcodec/mpegaudiodec_template: Check for negative e

Fixes: undefined shift
Fixes: 631/clusterfuzz-testcase-6725491035734016

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