]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dirac_parser.c
Windows Media Audio Lossless decoder
[ffmpeg] / libavcodec / dirac_parser.c
index 87c3a04b91c689f3795ce16a6c5ff0661620cfb1..11d0cf86b2899b0f8f6ee1ccf2178f0e962a9a28 100644 (file)
@@ -248,9 +248,8 @@ static void dirac_parse_close(AVCodecParserContext *s)
 }
 
 AVCodecParser ff_dirac_parser = {
-    { CODEC_ID_DIRAC },
-    sizeof(DiracParseContext),
-    NULL,
-    dirac_parse,
-    dirac_parse_close,
+    .codec_ids      = { CODEC_ID_DIRAC },
+    .priv_data_size = sizeof(DiracParseContext),
+    .parser_parse   = dirac_parse,
+    .parser_close   = dirac_parse_close,
 };