From 36ef5369ee9b336febc2c270f8718cec4476cb85 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 5 Aug 2012 11:11:04 +0200 Subject: Replace all CODEC_ID_* with AV_CODEC_ID_* --- libavformat/assenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/assenc.c') diff --git a/libavformat/assenc.c b/libavformat/assenc.c index dca8e8c0c5..1ae8680597 100644 --- a/libavformat/assenc.c +++ b/libavformat/assenc.c @@ -31,7 +31,7 @@ static int write_header(AVFormatContext *s) AVCodecContext *avctx= s->streams[0]->codec; uint8_t *last= NULL; - if(s->nb_streams != 1 || avctx->codec_id != CODEC_ID_SSA){ + if(s->nb_streams != 1 || avctx->codec_id != AV_CODEC_ID_SSA){ av_log(s, AV_LOG_ERROR, "Exactly one ASS/SSA stream is needed.\n"); return -1; } @@ -83,7 +83,7 @@ AVOutputFormat ff_ass_muxer = { .mime_type = "text/x-ssa", .extensions = "ass,ssa", .priv_data_size = sizeof(ASSContext), - .subtitle_codec = CODEC_ID_SSA, + .subtitle_codec = AV_CODEC_ID_SSA, .write_header = write_header, .write_packet = write_packet, .write_trailer = write_trailer, -- cgit v1.2.3