diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-28 22:47:11 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-28 23:49:11 +0200 |
commit | c37d735c1cabc134e606d20b53ed8ebbf28526b9 (patch) | |
tree | 3ff30d2045e93f2df662483eed771406d61e3c3c | |
parent | e816a8bc26a9c9c72e4d3e0e1d6854ecffaa4fc0 (diff) | |
download | ffmpeg-c37d735c1cabc134e606d20b53ed8ebbf28526b9.tar.gz |
jpeg2000dec: mct_decode: remove unused return
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/jpeg2000dec.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index ccb35cc77a..59af444068 100644 --- a/libavcodec/jpeg2000dec.c +++ b/libavcodec/jpeg2000dec.c @@ -965,10 +965,9 @@ static const int i_ict_params[4] = { 116130 }; -static int mct_decode(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile) +static void mct_decode(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile) { int i, csize = 1; - int ret = 0; int32_t *src[3], i0, i1, i2; float *srcf[3], i0f, i1f, i2f; @@ -1014,7 +1013,6 @@ static int mct_decode(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile) } break; } - return ret; } static int jpeg2000_decode_tile(Jpeg2000DecoderContext *s, Jpeg2000Tile *tile, |