return 0;
}
-static av_cold void end(AVCodecContext *avctx)
+static av_cold int end(AVCodecContext *avctx)
{
AVRnContext *a = avctx->priv_data;
AVFrame *p = &a->frame;
if(a->is_mjpeg)
ff_mjpeg_decode_end(avctx);
+
+ return 0;
}
static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
}
AVCodec ff_avrn_decoder = {
- .name = "AVRn",
+ .name = "avrn",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_AVRN,
.priv_data_size = sizeof(AVRnContext),
.init = init,
.close = end,
.decode = decode_frame,
- .long_name = NULL_IF_CONFIG_SMALL("AVRn"),
+ .long_name = NULL_IF_CONFIG_SMALL("Avid AVI Codec"),
.capabilities = CODEC_CAP_DR1,
};