diff options
author | Diego Biurrun <diego@biurrun.de> | 2015-12-16 18:01:34 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-11-08 17:54:34 +0100 |
commit | 67deba8a416d818f3d95aef0aa916589090396e2 (patch) | |
tree | f8b114c5b54f8e478970bd21542897f0ea1c47a5 /libavcodec/g723_1enc.c | |
parent | 59d2b00d201935c16408a2917957d89a170fe58f (diff) | |
download | ffmpeg-67deba8a416d818f3d95aef0aa916589090396e2.tar.gz |
Use avpriv_report_missing_feature() where appropriate
Diffstat (limited to 'libavcodec/g723_1enc.c')
-rw-r--r-- | libavcodec/g723_1enc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/g723_1enc.c b/libavcodec/g723_1enc.c index 1ebd465416..82f5cecfa2 100644 --- a/libavcodec/g723_1enc.c +++ b/libavcodec/g723_1enc.c @@ -57,7 +57,8 @@ static av_cold int g723_1_encode_init(AVCodecContext *avctx) if (avctx->bit_rate == 6300) { p->cur_rate = RATE_6300; } else if (avctx->bit_rate == 5300) { - av_log(avctx, AV_LOG_ERROR, "Bitrate not supported yet, use 6300\n"); + av_log(avctx, AV_LOG_ERROR, "Use bitrate 6300 instead of 5300.\n"); + avpriv_report_missing_feature(avctx, "Bitrate 5300"); return AVERROR_PATCHWELCOME; } else { av_log(avctx, AV_LOG_ERROR, "Bitrate not supported, use 6300\n"); |