avcodec/jpeglsdec: check err value for ls_get_code_runterm() n0.10.10
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 30 Oct 2013 22:27:28 +0000 (23:27 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Nov 2013 19:49:49 +0000 (20:49 +0100)
commit58e212c1fbad5df87ea91c85711361325cc84be1
treee0f8b081be2e0a494afcaf10a22b731c15566e10
parent4ddbe89d40bd7a6ba16a6537b0acdd22f6c86507
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