Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-12-16 20:01:34 +0300
committerDiego Biurrun <diego@biurrun.de>2016-11-08 19:54:34 +0300
commit67deba8a416d818f3d95aef0aa916589090396e2 (patch)
treef8b114c5b54f8e478970bd21542897f0ea1c47a5 /libavcodec/g723_1enc.c
parent59d2b00d201935c16408a2917957d89a170fe58f (diff)
Use avpriv_report_missing_feature() where appropriate
Diffstat (limited to 'libavcodec/g723_1enc.c')
-rw-r--r--libavcodec/g723_1enc.c3
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");