aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-01-13 19:26:40 -0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-01-15 17:53:58 +0100
commitb8fa3ff95d884060f39c5d50e811404fe94b9301 (patch)
treea34a5708f8a49f5d2d28ef2020856912e721aeae
parent063928910ff8d65335dc404aa1f33f4ccae4a15f (diff)
downloadffmpeg-n2.8.5.tar.gz
avcodec/wavpackenc: print channel count in av_log calln2.8.5
Fixes a warning with -Wformat-extra-args (cherry picked from commit 17e7fdf61a04f52c499e2d06eab2cf2d22343aa9) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/wavpackenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wavpackenc.c b/libavcodec/wavpackenc.c
index ce41db8149..751d1fdf92 100644
--- a/libavcodec/wavpackenc.c
+++ b/libavcodec/wavpackenc.c
@@ -129,7 +129,7 @@ static av_cold int wavpack_encode_init(AVCodecContext *avctx)
s->avctx = avctx;
if (avctx->channels > 255) {
- av_log(avctx, AV_LOG_ERROR, "Too many channels\n", avctx->channels);
+ av_log(avctx, AV_LOG_ERROR, "Invalid channel count: %d\n", avctx->channels);
return AVERROR(EINVAL);
}