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>
Wed, 30 Oct 2013 22:32:51 +0000 (23:32 +0100)
commitcc0e47b55096361723b364afa43b79a3f5619cdc
treeff5a340c5ffb198c14abe11aa0c67515c9e2d9d7
parent4fab08c94f836f24c67f75f3e44e82cdbac5ffb2
avcodec/jpeglsdec: check err value for ls_get_code_runterm()

Fixes infinite loop
Fixes Ticket3086

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