summaryrefslogtreecommitdiff
path: root/libavformat/vc1test.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/vc1test.c')
-rw-r--r--libavformat/vc1test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vc1test.c b/libavformat/vc1test.c
index 11a4a6f4a7..d47fe6af32 100644
--- a/libavformat/vc1test.c
+++ b/libavformat/vc1test.c
@@ -58,7 +58,7 @@ static int vc1t_read_header(AVFormatContext *s,
if (!st)
return -1;
- st->codec->codec_type = CODEC_TYPE_VIDEO;
+ st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
st->codec->codec_id = CODEC_ID_WMV3;
st->codec->extradata = av_malloc(VC1_EXTRADATA_SIZE);