summaryrefslogtreecommitdiff
path: root/libavformat/vc1testenc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-05 11:11:04 +0200
committerAnton Khirnov <anton@khirnov.net>2012-08-07 16:00:24 +0200
commit36ef5369ee9b336febc2c270f8718cec4476cb85 (patch)
treed186adbb488e7f002aa894743b1ce0e8925520e6 /libavformat/vc1testenc.c
parent104e10fb426f903ba9157fdbfe30292d0e4c3d72 (diff)
Replace all CODEC_ID_* with AV_CODEC_ID_*
Diffstat (limited to 'libavformat/vc1testenc.c')
-rw-r--r--libavformat/vc1testenc.c6
1 files changed, 3 insertions, 3 deletions
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,