diff options
Diffstat (limited to 'libavformat/vc1testenc.c')
-rw-r--r-- | libavformat/vc1testenc.c | 6 |
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, |