]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/loco.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavcodec / loco.c
index f5807b8f0a166336e9250668b9a1ccf0fe16ca41..505f566ba6a0e13d0036b6c8607cd1aefc9409c8 100644 (file)
@@ -288,14 +288,13 @@ static av_cold int decode_end(AVCodecContext *avctx){
 }
 
 AVCodec ff_loco_decoder = {
-    "loco",
-    AVMEDIA_TYPE_VIDEO,
-    CODEC_ID_LOCO,
-    sizeof(LOCOContext),
-    decode_init,
-    NULL,
-    decode_end,
-    decode_frame,
-    CODEC_CAP_DR1,
+    .name           = "loco",
+    .type           = AVMEDIA_TYPE_VIDEO,
+    .id             = CODEC_ID_LOCO,
+    .priv_data_size = sizeof(LOCOContext),
+    .init           = decode_init,
+    .close          = decode_end,
+    .decode         = decode_frame,
+    .capabilities   = CODEC_CAP_DR1,
     .long_name = NULL_IF_CONFIG_SMALL("LOCO"),
 };