summaryrefslogtreecommitdiff
path: root/libavformat/ncdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/ncdec.c')
-rw-r--r--libavformat/ncdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ncdec.c b/libavformat/ncdec.c
index 8e51f840d2..6d99a049e6 100644
--- a/libavformat/ncdec.c
+++ b/libavformat/ncdec.c
@@ -50,7 +50,7 @@ static int nc_read_header(AVFormatContext *s, AVFormatParameters *ap)
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_MPEG4;
st->need_parsing = AVSTREAM_PARSE_FULL;