summaryrefslogtreecommitdiff
path: root/libavcodec/yuv4dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/yuv4dec.c')
-rw-r--r--libavcodec/yuv4dec.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/yuv4dec.c b/libavcodec/yuv4dec.c
index 15a89a8f82..83e03ba782 100644
--- a/libavcodec/yuv4dec.c
+++ b/libavcodec/yuv4dec.c
@@ -74,13 +74,13 @@ static int yuv4_decode_frame(AVCodecContext *avctx, void *data,
return avpkt->size;
}
-const 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,
+const FFCodec ff_yuv4_decoder = {
+ .p.name = "yuv4",
+ .p.long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:2:0"),
+ .p.type = AVMEDIA_TYPE_VIDEO,
+ .p.id = AV_CODEC_ID_YUV4,
.init = yuv4_decode_init,
.decode = yuv4_decode_frame,
- .capabilities = AV_CODEC_CAP_DR1,
+ .p.capabilities = AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};