avcodec/pafvideo: Check for bitstream end in decode_0()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 13 Oct 2017 01:06:53 +0000 (03:06 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 14 Oct 2017 22:45:14 +0000 (00:45 +0200)
commit453da701192a7bb77fd7d85af9e7a5e04dfd19e9
tree7d1959e5ff29f5709343bcf73b924cd912678ba0
parentd893253fcd93d11258e98857175e93be7d158708
avcodec/pafvideo: Check for bitstream end in decode_0()

Fixes: Timeout
Fixes: 3529/clusterfuzz-testcase-5057068371279872

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