]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/pictordec.c
Merge remote-tracking branch 'mans/dnxhd'
[ffmpeg] / libavcodec / pictordec.c
index b87c8643d068c3ca8b0f465396de3ce5b38556b5..2bbb63633dfda9d36800874092a19908922bfad0 100644 (file)
@@ -246,14 +246,13 @@ static av_cold int decode_end(AVCodecContext *avctx)
 }
 
 AVCodec ff_pictor_decoder = {
-    "pictor",
-    AVMEDIA_TYPE_VIDEO,
-    CODEC_ID_PICTOR,
-    sizeof(PicContext),
+    .name           = "pictor",
+    .type           = AVMEDIA_TYPE_VIDEO,
+    .id             = CODEC_ID_PICTOR,
+    .priv_data_size = sizeof(PicContext),
     decode_init,
-    NULL,
-    decode_end,
-    decode_frame,
-    CODEC_CAP_DR1,
+    .close          = decode_end,
+    .decode         = decode_frame,
+    .capabilities   = CODEC_CAP_DR1,
     .long_name = NULL_IF_CONFIG_SMALL("Pictor/PC Paint"),
 };