avcodec/pixlet: Fix reading invalid numbers of bits
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 18 May 2017 14:51:08 +0000 (16:51 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 18 May 2017 16:08:23 +0000 (18:08 +0200)
commitd32ebce8fd79bb859ba4a04c92470a052f2aafa6
treea77fb77942d73faa50da56c8372fdbdc6776234e
parent5c9e12bc6d3e4847896fcb51e76d26aa7922e5d7
avcodec/pixlet: Fix reading invalid numbers of bits

Fixes: asertion failure
Fixes: 1664/clusterfuzz-testcase-minimized-6587801187385344

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