]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/latm_parser.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavcodec / latm_parser.c
index 8e42c6ace9b0ac22e74f629095634404fae6b808..e8ed4cbb35e0a0e9325e1a87a7a3ab5f0b822bc2 100644 (file)
@@ -106,9 +106,8 @@ static int latm_parse(AVCodecParserContext *s1, AVCodecContext *avctx,
 }
 
 AVCodecParser ff_aac_latm_parser = {
-    { CODEC_ID_AAC_LATM },
-    sizeof(LATMParseContext),
-    NULL,
-    latm_parse,
-    ff_parse_close
+    .codec_ids      = { CODEC_ID_AAC_LATM },
+    .priv_data_size = sizeof(LATMParseContext),
+    .parser_parse   = latm_parse,
+    .parser_close   = ff_parse_close
 };