jpeg2000dec: Propagate error code from get_cox() correctly
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 5 Jun 2013 15:23:34 +0000 (17:23 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 5 Jun 2013 16:34:07 +0000 (18:34 +0200)
commit66c4d544131477cf25d63bf7e2e69c37bd65cba1
tree22abeb077be05d4dcf11a380b3fdb5d5cb6ca9e2
parent6e9bfc19bd7be2b28258ca93d706cb67ed482c65
jpeg2000dec: Propagate error code from get_cox() correctly

Without this the context state could become inconsistent

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