diff options
Diffstat (limited to 'libavformat/ilbc.c')
-rw-r--r-- | libavformat/ilbc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/ilbc.c b/libavformat/ilbc.c index 11959f4028..7a23b2f442 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, |