Author: k.nowosad
Date: Wed Aug 22 15:40:40 2007
New Revision: 1153
Log:
j2kdec_init() should return int
Modified:
jpeg2000/j2kdec.c
Modified: jpeg2000/j2kdec.c
==============================================================================
--- jpeg2000/j2kdec.c (original)
+++ jpeg2000/j2kdec.c Wed Aug 22 15:40:40 2007
@@ -1195,12 +1195,13 @@ static int decode_frame(AVCodecContext *
return s->buf - s->buf_start;
}
-static void j2kdec_init(AVCodecContext *avctx)
+static int j2kdec_init(AVCodecContext *avctx)
{
J2kDecoderContext *s = avctx->priv_data;
avcodec_get_frame_defaults((AVFrame*)&s->picture);
avctx->coded_frame = (AVFrame*)&s->picture;
+ return 0;
}
AVCodec jpeg2000_decoder = {
_______________________________________________
FFmpeg-soc mailing list
[email protected]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc