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>
Sat, 8 Mar 2014 14:32:44 +0000 (15:32 +0100)
commit84c84204b31287a6d3d911b564609cfaf29047b9
treefca75f436ea7ad089c2ac80137df39d04cb1ad65
parent683c92adde01a0e4e13d7419a81a151687523d92
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