avcodec/hevcdsp_template.c: Fix undefined shift in FUNC(dequant)
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 22 Dec 2017 02:12:03 +0000 (03:12 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 26 Dec 2017 17:05:10 +0000 (18:05 +0100)
commit0c9ab5ef9c1ee852c80c859c9e07efe8730b57ed
tree5351bb898aed7a79ca7599bed904b9e795ce603d
parent4d70fbeec8cbab072b3a9b9f760b8deaaef240f2
avcodec/hevcdsp_template.c: Fix undefined shift in FUNC(dequant)

Fixes: runtime error: left shift of negative value -180
Fixes: 4626/clusterfuzz-testcase-minimized-5647837887987712

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