X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fsrtdec.c;h=9db5133a2102c20f00312302621a804a224bf819;hb=9767d7c092c890ecc5953452e8a951fd902dd67b;hp=8d951f8f0a09f313fb4e367907ba03e595d85576;hpb=6774247a9d7d15033c2b80118c03cb0cb10027df;p=ffmpeg diff --git a/libavformat/srtdec.c b/libavformat/srtdec.c index 8d951f8f0a0..9db5133a210 100644 --- a/libavformat/srtdec.c +++ b/libavformat/srtdec.c @@ -47,7 +47,7 @@ static int srt_read_header(AVFormatContext *s) return -1; avpriv_set_pts_info(st, 64, 1, 1000); st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE; - st->codec->codec_id = CODEC_ID_SRT; + st->codec->codec_id = AV_CODEC_ID_SRT; return 0; }