summaryrefslogtreecommitdiff
path: root/ffmpeg/libavcodec/v308dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg/libavcodec/v308dec.c')
-rw-r--r--ffmpeg/libavcodec/v308dec.c10
1 files changed, 1 insertions, 9 deletions
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"),
};