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/vc1testenc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavformat/vc1testenc.c') diff --git a/libavformat/vc1testenc.c b/libavformat/vc1testenc.c index 9c4eea2701..abe8c6b231 100644 --- a/libavformat/vc1testenc.c +++ b/libavformat/vc1testenc.c @@ -30,7 +30,7 @@ static int vc1test_write_header(AVFormatContext *s) AVCodecContext *avc = s->streams[0]->codec; AVIOContext *pb = s->pb; - if (avc->codec_id != CODEC_ID_WMV3) { + if (avc->codec_id != AV_CODEC_ID_WMV3) { av_log(s, AV_LOG_ERROR, "Only WMV3 is accepted!\n"); return -1; } @@ -88,8 +88,8 @@ AVOutputFormat ff_vc1t_muxer = { .mime_type = "", .extensions = "rcv", .priv_data_size = sizeof(RCVContext), - .audio_codec = CODEC_ID_NONE, - .video_codec = CODEC_ID_WMV3, + .audio_codec = AV_CODEC_ID_NONE, + .video_codec = AV_CODEC_ID_WMV3, .write_header = vc1test_write_header, .write_packet = vc1test_write_packet, .write_trailer = vc1test_write_trailer, -- cgit v1.2.3