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/wav.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libavformat/wav.c') diff --git a/libavformat/wav.c b/libavformat/wav.c index 042bcd8c4a..6f83024f2f 100644 --- a/libavformat/wav.c +++ b/libavformat/wav.c @@ -211,8 +211,8 @@ AVOutputFormat ff_wav_muxer = { .mime_type = "audio/x-wav", .extensions = "wav", .priv_data_size = sizeof(WAVContext), - .audio_codec = CODEC_ID_PCM_S16LE, - .video_codec = CODEC_ID_NONE, + .audio_codec = AV_CODEC_ID_PCM_S16LE, + .video_codec = AV_CODEC_ID_NONE, .write_header = wav_write_header, .write_packet = wav_write_packet, .write_trailer = wav_write_trailer, @@ -574,10 +574,10 @@ static int wav_read_seek(AVFormatContext *s, st = s->streams[0]; switch (st->codec->codec_id) { - case CODEC_ID_MP2: - case CODEC_ID_MP3: - case CODEC_ID_AC3: - case CODEC_ID_DTS: + case AV_CODEC_ID_MP2: + case AV_CODEC_ID_MP3: + case AV_CODEC_ID_AC3: + case AV_CODEC_ID_DTS: /* use generic seeking with dynamically generated indexes */ return -1; default: -- cgit v1.2.3