summaryrefslogtreecommitdiff
path: root/libavcodec/srtenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/srtenc.c')
-rw-r--r--libavcodec/srtenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/srtenc.c b/libavcodec/srtenc.c
index 56d3397828..9e152c70c7 100644
--- a/libavcodec/srtenc.c
+++ b/libavcodec/srtenc.c
@@ -293,7 +293,7 @@ AVCodec ff_srt_encoder = {
.name = "srt",
.long_name = NULL_IF_CONFIG_SMALL("SubRip subtitle"),
.type = AVMEDIA_TYPE_SUBTITLE,
- .id = CODEC_ID_SRT,
+ .id = AV_CODEC_ID_SRT,
.priv_data_size = sizeof(SRTContext),
.init = srt_encode_init,
.encode = srt_encode_frame,