]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mlp_parser.c
h264: fix cur_chroma_format_idc with slice multithreading.
[ffmpeg] / libavcodec / mlp_parser.c
index abd3ffa8e70038a865d2b87159ddf6eb4d4f8d32..151841a103a65abe12afea0df65c3d90cd0f4f38 100644 (file)
@@ -345,9 +345,9 @@ lost_sync:
 }
 
 AVCodecParser ff_mlp_parser = {
-    { CODEC_ID_MLP, CODEC_ID_TRUEHD },
-    sizeof(MLPParseContext),
-    mlp_init,
-    mlp_parse,
-    ff_parse_close,
+    .codec_ids      = { CODEC_ID_MLP, CODEC_ID_TRUEHD },
+    .priv_data_size = sizeof(MLPParseContext),
+    .parser_init    = mlp_init,
+    .parser_parse   = mlp_parse,
+    .parser_close   = ff_parse_close,
 };