summaryrefslogtreecommitdiff
path: root/libavformat/anm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/anm.c')
-rw-r--r--libavformat/anm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/anm.c b/libavformat/anm.c
index 2099dc96e8..0d28ff4e8f 100644
--- a/libavformat/anm.c
+++ b/libavformat/anm.c
@@ -100,7 +100,7 @@ static int read_header(AVFormatContext *s,
st = av_new_stream(s, 0);
if (!st)
return AVERROR(ENOMEM);
- st->codec->codec_type = CODEC_TYPE_VIDEO;
+ st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
st->codec->codec_id = CODEC_ID_ANM;
st->codec->codec_tag = 0; /* no fourcc */
st->codec->width = get_le16(pb);