diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-08-05 13:11:04 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-08-07 18:00:24 +0400 |
commit | 36ef5369ee9b336febc2c270f8718cec4476cb85 (patch) | |
tree | d186adbb488e7f002aa894743b1ce0e8925520e6 /libavformat/westwood_aud.c | |
parent | 104e10fb426f903ba9157fdbfe30292d0e4c3d72 (diff) |
Replace all CODEC_ID_* with AV_CODEC_ID_*
Diffstat (limited to 'libavformat/westwood_aud.c')
-rw-r--r-- | libavformat/westwood_aud.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/westwood_aud.c b/libavformat/westwood_aud.c index ae49184a47..806aea66ea 100644 --- a/libavformat/westwood_aud.c +++ b/libavformat/westwood_aud.c @@ -106,10 +106,10 @@ static int wsaud_read_header(AVFormatContext *s) av_log_ask_for_sample(s, "Stereo WS-SND1 is not supported.\n"); return AVERROR_PATCHWELCOME; } - st->codec->codec_id = CODEC_ID_WESTWOOD_SND1; + st->codec->codec_id = AV_CODEC_ID_WESTWOOD_SND1; break; case 99: - st->codec->codec_id = CODEC_ID_ADPCM_IMA_WS; + st->codec->codec_id = AV_CODEC_ID_ADPCM_IMA_WS; st->codec->bits_per_coded_sample = 4; st->codec->bit_rate = channels * sample_rate * 4; break; @@ -144,7 +144,7 @@ static int wsaud_read_packet(AVFormatContext *s, chunk_size = AV_RL16(&preamble[0]); - if (st->codec->codec_id == CODEC_ID_WESTWOOD_SND1) { + if (st->codec->codec_id == AV_CODEC_ID_WESTWOOD_SND1) { /* For Westwood SND1 audio we need to add the output size and input size to the start of the packet to match what is in VQA. Specifically, this is needed to signal when a packet should be |