]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/latm_parser.c
mpeg12dec: avoid signed overflow in bitrate calculation
[ffmpeg] / libavcodec / latm_parser.c
index bd941f6dc3bc0e74bdfcabaf40b136f44308b121..6fdb89737599942f730f6efa60004c518e3a5fcf 100644 (file)
@@ -106,7 +106,7 @@ static int latm_parse(AVCodecParserContext *s1, AVCodecContext *avctx,
 }
 
 AVCodecParser ff_aac_latm_parser = {
-    .codec_ids      = { CODEC_ID_AAC_LATM },
+    .codec_ids      = { AV_CODEC_ID_AAC_LATM },
     .priv_data_size = sizeof(LATMParseContext),
     .parser_parse   = latm_parse,
     .parser_close   = ff_parse_close