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/v308dec.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'ffmpeg/libavcodec/v308dec.c') diff --git a/ffmpeg/libavcodec/v308dec.c b/ffmpeg/libavcodec/v308dec.c index cddc779..1d31f0a 100644 --- a/ffmpeg/libavcodec/v308dec.c +++ b/ffmpeg/libavcodec/v308dec.c @@ -68,24 +68,16 @@ static int v308_decode_frame(AVCodecContext *avctx, void *data, } *got_frame = 1; - *(AVFrame *)data = *pic; return avpkt->size; } -static av_cold int v308_decode_close(AVCodecContext *avctx) -{ - - return 0; -} - AVCodec ff_v308_decoder = { .name = "v308", + .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:4:4"), .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_V308, .init = v308_decode_init, .decode = v308_decode_frame, - .close = v308_decode_close, .capabilities = CODEC_CAP_DR1, - .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:4:4"), }; -- cgit v1.2.3