diff options
author | Clément Bœsch <cboesch@gopro.com> | 2017-03-31 11:40:34 +0300 |
---|---|---|
committer | Clément Bœsch <cboesch@gopro.com> | 2017-03-31 11:40:34 +0300 |
commit | e3287077ecff33bd02227b85ec760fe47d796f54 (patch) | |
tree | d94ccb713264f90ad6048bfab85ef7fb85807fca /libavcodec/g723_1enc.c | |
parent | b6c293d5e609a7b651c47d3de4749840ae00492e (diff) | |
parent | 67deba8a416d818f3d95aef0aa916589090396e2 (diff) |
Merge commit '67deba8a416d818f3d95aef0aa916589090396e2'
* commit '67deba8a416d818f3d95aef0aa916589090396e2':
Use avpriv_report_missing_feature() where appropriate
Merged-by: Clément Bœsch <cboesch@gopro.com>
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 e7afa4d373..4a4525eda9 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"); |