]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/lmlm4.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavformat / lmlm4.c
index 4d68eea2b802865fe70a40199a3da9f2d66061a7..c3eec02e8fecfab6282dfc3af2d60228513d71a4 100644 (file)
@@ -64,14 +64,14 @@ static int lmlm4_read_header(AVFormatContext *s) {
     if (!(st = avformat_new_stream(s, NULL)))
         return AVERROR(ENOMEM);
     st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
-    st->codec->codec_id   = CODEC_ID_MPEG4;
+    st->codec->codec_id   = AV_CODEC_ID_MPEG4;
     st->need_parsing      = AVSTREAM_PARSE_HEADERS;
     avpriv_set_pts_info(st, 64, 1001, 30000);
 
     if (!(st = avformat_new_stream(s, NULL)))
         return AVERROR(ENOMEM);
     st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
-    st->codec->codec_id   = CODEC_ID_MP2;
+    st->codec->codec_id   = AV_CODEC_ID_MP2;
     st->need_parsing      = AVSTREAM_PARSE_HEADERS;
 
     /* the parameters will be extracted from the compressed bitstream */