summaryrefslogtreecommitdiff
path: root/libavformat/ilbc.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/ilbc.c
parent104e10fb426f903ba9157fdbfe30292d0e4c3d72 (diff)
Replace all CODEC_ID_* with AV_CODEC_ID_*
Diffstat (limited to 'libavformat/ilbc.c')
-rw-r--r--libavformat/ilbc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/ilbc.c b/libavformat/ilbc.c
index b6be5abfbb..c01eb6f796 100644
--- a/libavformat/ilbc.c
+++ b/libavformat/ilbc.c
@@ -36,7 +36,7 @@ static int ilbc_write_header(AVFormatContext *s)
}
enc = s->streams[0]->codec;
- if (enc->codec_id != CODEC_ID_ILBC) {
+ if (enc->codec_id != AV_CODEC_ID_ILBC) {
av_log(s, AV_LOG_ERROR, "Unsupported codec\n");
return AVERROR(EINVAL);
}
@@ -80,7 +80,7 @@ static int ilbc_read_header(AVFormatContext *s)
st = avformat_new_stream(s, NULL);
if (!st)
return AVERROR(ENOMEM);
- st->codec->codec_id = CODEC_ID_ILBC;
+ st->codec->codec_id = AV_CODEC_ID_ILBC;
st->codec->sample_rate = 8000;
st->codec->channels = 1;
st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
@@ -134,7 +134,7 @@ AVOutputFormat ff_ilbc_muxer = {
.long_name = NULL_IF_CONFIG_SMALL("iLBC storage"),
.mime_type = "audio/iLBC",
.extensions = "lbc",
- .audio_codec = CODEC_ID_ILBC,
+ .audio_codec = AV_CODEC_ID_ILBC,
.write_header = ilbc_write_header,
.write_packet = ilbc_write_packet,
.flags = AVFMT_NOTIMESTAMPS,