[FFmpeg-cvslog] j2kdec: remove unused variable and empty function
Michael Niedermayer
git at videolan.org
Tue Mar 12 18:57:51 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Mar 12 18:30:59 2013 +0100| [dc7ba0c1f4e92c3c7c3b3538696ed277510ae99e] | committer: Michael Niedermayer
j2kdec: remove unused variable and empty function
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dc7ba0c1f4e92c3c7c3b3538696ed277510ae99e
---
libavcodec/j2kdec.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/libavcodec/j2kdec.c b/libavcodec/j2kdec.c
index fef0348..6dcaf73 100644
--- a/libavcodec/j2kdec.c
+++ b/libavcodec/j2kdec.c
@@ -1081,20 +1081,12 @@ static av_cold int j2kdec_init(AVCodecContext *avctx)
return 0;
}
-static av_cold int decode_end(AVCodecContext *avctx)
-{
- J2kDecoderContext *s = avctx->priv_data;
-
- return 0;
-}
-
AVCodec ff_jpeg2000_decoder = {
.name = "j2k",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_JPEG2000,
.priv_data_size = sizeof(J2kDecoderContext),
.init = j2kdec_init,
- .close = decode_end,
.decode = decode_frame,
.capabilities = CODEC_CAP_EXPERIMENTAL,
.long_name = NULL_IF_CONFIG_SMALL("JPEG 2000"),
More information about the ffmpeg-cvslog
mailing list