summaryrefslogtreecommitdiff
path: root/libavcodec/srtdec.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-12-09 01:45:25 +0000
committerPaul B Mahol <onemda@gmail.com>2012-12-09 01:47:58 +0000
commit92f630eaf21c852fa29c3009b738737e94952bf2 (patch)
tree16812a74612c0535b811703137f2a7a7194e6ff0 /libavcodec/srtdec.c
parent7f01247572987ba7e657c081601bba0b4855e936 (diff)
add forgotten AV_ prefix to some CODEC_IDs
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/srtdec.c')
-rw-r--r--libavcodec/srtdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/srtdec.c b/libavcodec/srtdec.c
index ddeabd298d..cac4b39d36 100644
--- a/libavcodec/srtdec.c
+++ b/libavcodec/srtdec.c
@@ -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;