summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-01-13 19:26:40 -0300
committerJames Almer <jamrial@gmail.com>2016-01-13 19:26:40 -0300
commit17e7fdf61a04f52c499e2d06eab2cf2d22343aa9 (patch)
tree0a4ef23769e52a0f627341ba263aa65bd93b7b39 /libavcodec
parent39fb3f18c52dd2be3a4c13fe6cce97bfb87f43c8 (diff)
avcodec/wavpackenc: print channel count in av_log call
Fixes a warning with -Wformat-extra-args
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/wavpackenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wavpackenc.c b/libavcodec/wavpackenc.c
index f4e710d5b3..98a011fe18 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);
}