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>
Thu, 26 Oct 2017 15:34:42 +0000 (17:34 +0200)
commit20fd9217d8ae6da92417057e4fb9391ac72ae151
tree48baa012d4bf1a6aa9d8ac0b6b008f4dd11cb57c
parent48933f28c2a8dce024bef8110e907811b3d4c9f6
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