avcodec/dds: Fix runtime error: left shift of 1 by 31 places cannot be represented...
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 May 2017 20:31:23 +0000 (22:31 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 May 2017 01:41:33 +0000 (03:41 +0200)
commit5b56c2d83a33f17dcb0c20fea0f4dd775adac7e4
tree402b76426b286c6e192d595a5679c842c04c95fe
parent191e0f7e2b882eb20d696501603285c7192312f6
avcodec/dds: Fix runtime error: left shift of 1 by 31 places cannot be represented in type 'int'

Fixes: 1380/clusterfuzz-testcase-minimized-650122545122508

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 8a8335de030aa6cb6356bb16c7d3aefc5a80e362)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dds.c