summaryrefslogtreecommitdiff
path: root/libavformat/subviewerdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/subviewerdec.c')
-rw-r--r--libavformat/subviewerdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/subviewerdec.c b/libavformat/subviewerdec.c
index ac68fc151d..e708a28621 100644
--- a/libavformat/subviewerdec.c
+++ b/libavformat/subviewerdec.c
@@ -76,7 +76,7 @@ static int subviewer_read_header(AVFormatContext *s)
return AVERROR(ENOMEM);
avpriv_set_pts_info(st, 64, 1, 100);
st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE;
- st->codec->codec_id = CODEC_ID_SUBVIEWER;
+ st->codec->codec_id = AV_CODEC_ID_SUBVIEWER;
av_bprint_init(&header, 0, AV_BPRINT_SIZE_UNLIMITED);