]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/srtdec.c
add forgotten AV_ prefix to some CODEC_IDs
[ffmpeg] / libavcodec / srtdec.c
index ddeabd298d337b165f33e11996e53b73f38bfaab..cac4b39d36f747d3000857fcc4a1837fbea5e4e2 100644 (file)
@@ -234,7 +234,7 @@ static int srt_decode_frame(AVCodecContext *avctx,
         return avpkt->size;
 
     while (ptr < end && *ptr) {
-        if (avctx->codec->id == CODEC_ID_SRT) {
+        if (avctx->codec->id == AV_CODEC_ID_SRT) {
             ptr = read_ts(ptr, &ts_start, &ts_end, &x1, &y1, &x2, &y2);
             if (!ptr)
                 break;