[FFmpeg-cvslog] jpeg2000dec: mct_decode: remove unused return
Michael Niedermayer
git at videolan.org
Wed May 29 00:30:25 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue May 28 22:47:11 2013 +0200| [c37d735c1cabc134e606d20b53ed8ebbf28526b9] | committer: Michael Niedermayer
jpeg2000dec: mct_decode: remove unused return
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c37d735c1cabc134e606d20b53ed8ebbf28526b9
---
libavcodec/jpeg2000dec.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c
index ccb35cc..59af444 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,
More information about the ffmpeg-cvslog
mailing list