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:10 +0000 (00:45 +0200)
commit1959c0f9f92104edcfd2c8648fabdfce01cef0f3
tree9a0b93b84d1336ba52e2f76ee902fc23e7203033
parentf052d1df3e598a5d7f11edb257d1ce88160db6f1
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