avcodec/jpeglsdec: Check for end of bitstream in ls_decode_line()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 25 Oct 2017 22:02:57 +0000 (00:02 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 29 Oct 2017 17:28:40 +0000 (18:28 +0100)
commitf80224ed19a4c012549fd460d529c7c04e68cf21
treeaa40b16137ac6f53cbdb0b8ccb891a61c5209721
parentfe533628b9604e2f8e5179d5c5dd17c3cb764265
avcodec/jpeglsdec: Check for end of bitstream in ls_decode_line()

Fixes: 1773/clusterfuzz-testcase-minimized-4832523987189760

Fixes: Timeout

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