]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dnxhd_parser.c
cosmetics: Consistently place static, inline and av_cold attributes/keywords.
[ffmpeg] / libavcodec / dnxhd_parser.c
index 44ea8f06f544dd4606d0145547c7471525add591..870fed4a11ce79a24226fd841ec0893bfcfd9019 100644 (file)
@@ -87,9 +87,8 @@ static int dnxhd_parse(AVCodecParserContext *s,
 }
 
 AVCodecParser ff_dnxhd_parser = {
-    { CODEC_ID_DNXHD },
-    sizeof(ParseContext),
-    NULL,
-    dnxhd_parse,
-    ff_parse_close,
+    .codec_ids      = { CODEC_ID_DNXHD },
+    .priv_data_size = sizeof(ParseContext),
+    .parser_parse   = dnxhd_parse,
+    .parser_close   = ff_parse_close,
 };