avcodec/j2kenc: Use ret < 0 instead of ret != 0 for error checks
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 16 May 2015 16:37:55 +0000 (18:37 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 16 May 2015 16:47:14 +0000 (18:47 +0200)
commit2580bae54a45d6aaf85ddc5e780389e7e90b2c86
treeb6d3a24f66eaa9f2d9fbf7e3622fef9a4ab417b8
parentda4ef13cb20642dae4a893c9b32b7bbff60bfb42
avcodec/j2kenc: Use ret < 0 instead of ret != 0 for error checks

This is how most code in FFmpeg checks for failures

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