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>
Thu, 7 Dec 2017 22:38:06 +0000 (23:38 +0100)
commit7a23220bf9473b8918674e39281d2ee7e58cda92
treeb606edece81fd06e4ceeb625bb4bb30bb0533786
parent1c931d5ab99aaaaa599b0b1876777873c73ad665
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>
(cherry picked from commit f80224ed19a4c012549fd460d529c7c04e68cf21)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/jpeglsdec.c