summaryrefslogtreecommitdiff
path: root/ffmpeg/libavcodec/yuv4dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg/libavcodec/yuv4dec.c')
-rw-r--r--ffmpeg/libavcodec/yuv4dec.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/ffmpeg/libavcodec/yuv4dec.c b/ffmpeg/libavcodec/yuv4dec.c
index 6965f39..00ccf58 100644
--- a/ffmpeg/libavcodec/yuv4dec.c
+++ b/ffmpeg/libavcodec/yuv4dec.c
@@ -73,19 +73,12 @@ static int yuv4_decode_frame(AVCodecContext *avctx, void *data,
return avpkt->size;
}
-static av_cold int yuv4_decode_close(AVCodecContext *avctx)
-{
-
- return 0;
-}
-
AVCodec ff_yuv4_decoder = {
.name = "yuv4",
+ .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:2:0"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_YUV4,
.init = yuv4_decode_init,
.decode = yuv4_decode_frame,
- .close = yuv4_decode_close,
.capabilities = CODEC_CAP_DR1,
- .long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:2:0"),
};