[FFmpeg-soc] [soc]: r4005 - in jpeg2000: j2kdec.c j2kenc.c
diego
subversion at mplayerhq.hu
Sun Jan 25 16:56:43 CET 2009
Author: diego
Date: Sun Jan 25 16:56:43 2009
New Revision: 4005
Log:
Add av_cold to initialization functions.
Modified:
jpeg2000/j2kdec.c
jpeg2000/j2kenc.c
Modified: jpeg2000/j2kdec.c
==============================================================================
--- jpeg2000/j2kdec.c Sun Jan 25 16:55:31 2009 (r4004)
+++ jpeg2000/j2kdec.c Sun Jan 25 16:56:43 2009 (r4005)
@@ -924,7 +924,7 @@ static int decode_frame(AVCodecContext *
return s->buf - s->buf_start;
}
-static int j2kdec_init(AVCodecContext *avctx)
+static av_cold int j2kdec_init(AVCodecContext *avctx)
{
J2kDecoderContext *s = avctx->priv_data;
Modified: jpeg2000/j2kenc.c
==============================================================================
--- jpeg2000/j2kenc.c Sun Jan 25 16:55:31 2009 (r4004)
+++ jpeg2000/j2kenc.c Sun Jan 25 16:56:43 2009 (r4005)
@@ -960,7 +960,7 @@ static int encode_frame(AVCodecContext *
return s->buf - s->buf_start;
}
-static int j2kenc_init(AVCodecContext *avctx)
+static av_cold int j2kenc_init(AVCodecContext *avctx)
{
int i, ret;
J2kEncoderContext *s = avctx->priv_data;
More information about the FFmpeg-soc
mailing list