]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/v210dec.c
lavc: use designated initialisers for all codecs.
[ffmpeg] / libavcodec / v210dec.c
index f4ea65cb96baff83b6165b5ac09b23cd6ae083f4..fa67635ed327acb7fb705151473d0a9d7dfb41d8 100644 (file)
@@ -121,14 +121,12 @@ static av_cold int decode_close(AVCodecContext *avctx)
 }
 
 AVCodec ff_v210_decoder = {
-    "v210",
-    AVMEDIA_TYPE_VIDEO,
-    CODEC_ID_V210,
-    0,
-    decode_init,
-    NULL,
-    decode_close,
-    decode_frame,
-    CODEC_CAP_DR1,
+    .name           = "v210",
+    .type           = AVMEDIA_TYPE_VIDEO,
+    .id             = CODEC_ID_V210,
+    .init           = decode_init,
+    .close          = decode_close,
+    .decode         = decode_frame,
+    .capabilities   = CODEC_CAP_DR1,
     .long_name = NULL_IF_CONFIG_SMALL("Uncompressed 4:2:2 10-bit"),
 };