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, 7 Mar 2014 03:04:07 +0000 (04:04 +0100)
commit15d96c605bf213b4e07c6b8d08cebf8595832f9f
tree8d523b007584b9b28164391a2f66dfa160ada97d
parent67c3e3de55a43c0df0ca510baf1985c8ff5991eb
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