aboutsummaryrefslogtreecommitdiff
path: root/libavformat/samidec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/samidec.c')
-rw-r--r--libavformat/samidec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/samidec.c b/libavformat/samidec.c
index 5995d86fcf..5f29364028 100644
--- a/libavformat/samidec.c
+++ b/libavformat/samidec.c
@@ -56,7 +56,7 @@ static int sami_read_header(AVFormatContext *s)
return AVERROR(ENOMEM);
avpriv_set_pts_info(st, 64, 1, 1000);
st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE;
- st->codec->codec_id = CODEC_ID_SAMI;
+ st->codec->codec_id = AV_CODEC_ID_SAMI;
av_bprint_init(&buf, 0, AV_BPRINT_SIZE_UNLIMITED);
av_bprint_init(&hdr_buf, 0, AV_BPRINT_SIZE_UNLIMITED);