avcodec/jpeglsdec: check err value for ls_get_code_runterm()
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 30 Oct 2013 22:27:28 +0000 (23:27 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 21 Mar 2014 03:23:59 +0000 (04:23 +0100)
commit84e1aa7768a218603312a1b1b7184c9ee8d17079
tree3d7c7c1be4038b91b7cd7ecb2f693664077ab407
parentea23dcc4986e9372d4c506889328d9394e28610a
avcodec/jpeglsdec: check err value for ls_get_code_runterm()

Fixes infinite loop
Fixes Ticket3086

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit cc0e47b55096361723b364afa43b79a3f5619cdc)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/jpeglsdec.c