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>
Wed, 31 Jan 2018 21:56:14 +0000 (22:56 +0100)
commitc9298f5d02530edc926f9a6b45fc266aaec8c3ee
tree3f40933871d74780869b149d99efb668e9de3ac4
parentf62201d550a3ba790d262b7a8253b8c7541989ad
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