From f7813a5324be39d13ab536c245d15dfc602a7849 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sun, 29 Dec 2013 12:19:38 +0000 Subject: basic type mechanism working --- ffmpeg/libavcodec/sp5xdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ffmpeg/libavcodec/sp5xdec.c') diff --git a/ffmpeg/libavcodec/sp5xdec.c b/ffmpeg/libavcodec/sp5xdec.c index b083015..81f3c24 100644 --- a/ffmpeg/libavcodec/sp5xdec.c +++ b/ffmpeg/libavcodec/sp5xdec.c @@ -96,6 +96,7 @@ static int sp5x_decode_frame(AVCodecContext *avctx, #if CONFIG_SP5X_DECODER AVCodec ff_sp5x_decoder = { .name = "sp5x", + .long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"), .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_SP5X, .priv_data_size = sizeof(MJpegDecodeContext), @@ -104,18 +105,17 @@ AVCodec ff_sp5x_decoder = { .decode = sp5x_decode_frame, .capabilities = CODEC_CAP_DR1, .max_lowres = 3, - .long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"), }; #endif #if CONFIG_AMV_DECODER AVCodec ff_amv_decoder = { .name = "amv", + .long_name = NULL_IF_CONFIG_SMALL("AMV Video"), .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_AMV, .priv_data_size = sizeof(MJpegDecodeContext), .init = ff_mjpeg_decode_init, .close = ff_mjpeg_decode_end, .decode = sp5x_decode_frame, - .long_name = NULL_IF_CONFIG_SMALL("AMV Video"), }; #endif -- cgit v1.2.3