]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/lmlm4.c
riff: add PLV1 fourcc to mpeg4
[ffmpeg] / libavformat / lmlm4.c
index e0c4e294868d365aaa54fcaeaf768142ab93c0a2..b67b68e27bdc7625feabd66721182feb15aeb755 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 */