summaryrefslogtreecommitdiffstats
path: root/libavcodec/libopusenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-12-16 18:01:34 +0100
committerDiego Biurrun <diego@biurrun.de>2016-11-08 17:54:34 +0100
commit67deba8a416d818f3d95aef0aa916589090396e2 (patch)
treef8b114c5b54f8e478970bd21542897f0ea1c47a5 /libavcodec/libopusenc.c
parent59d2b00d201935c16408a2917957d89a170fe58f (diff)
downloadffmpeg-streaming-67deba8a416d818f3d95aef0aa916589090396e2.zip
ffmpeg-streaming-67deba8a416d818f3d95aef0aa916589090396e2.tar.gz
Use avpriv_report_missing_feature() where appropriate
Diffstat (limited to 'libavcodec/libopusenc.c')
-rw-r--r--libavcodec/libopusenc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/libopusenc.c b/libavcodec/libopusenc.c
index 1fb597b..500e58c 100644
--- a/libavcodec/libopusenc.c
+++ b/libavcodec/libopusenc.c
@@ -164,8 +164,9 @@ static int av_cold libopus_encode_init(AVCodecContext *avctx)
/* FIXME: Opus can handle up to 255 channels. However, the mapping for
* anything greater than 8 is undefined. */
if (avctx->channels > 8) {
- av_log(avctx, AV_LOG_ERROR,
- "Channel layout undefined for %d channels.\n", avctx->channels);
+ avpriv_report_missing_feature(avctx,
+ "Undefined channel layout for %d channels",
+ avctx->channels);
return AVERROR_PATCHWELCOME;
}
if (!avctx->bit_rate) {
OpenPOWER on IntegriCloud