]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mpc8.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavcodec / mpc8.c
index 2864b1a01096c46fbf58185c4dbc7830e52d30c5..cae7244ed588ab99b2bf6fd4a1a9a54088043d1b 100644 (file)
@@ -406,13 +406,11 @@ static int mpc8_decode_frame(AVCodecContext * avctx,
 }
 
 AVCodec ff_mpc8_decoder = {
-    "mpc8",
-    AVMEDIA_TYPE_AUDIO,
-    CODEC_ID_MUSEPACK8,
-    sizeof(MPCContext),
-    mpc8_decode_init,
-    NULL,
-    NULL,
-    mpc8_decode_frame,
+    .name           = "mpc8",
+    .type           = AVMEDIA_TYPE_AUDIO,
+    .id             = CODEC_ID_MUSEPACK8,
+    .priv_data_size = sizeof(MPCContext),
+    .init           = mpc8_decode_init,
+    .decode         = mpc8_decode_frame,
     .long_name = NULL_IF_CONFIG_SMALL("Musepack SV8"),
 };