aboutsummaryrefslogtreecommitdiff
path: root/libavformat/lmlm4.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/lmlm4.c')
-rw-r--r--libavformat/lmlm4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/lmlm4.c b/libavformat/lmlm4.c
index 4d68eea2b8..c3eec02e8f 100644
--- a/libavformat/lmlm4.c
+++ b/libavformat/lmlm4.c
@@ -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 */