diff options
author | James Almer <jamrial@gmail.com> | 2016-01-13 19:26:40 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-01-13 19:26:40 -0300 |
commit | 17e7fdf61a04f52c499e2d06eab2cf2d22343aa9 (patch) | |
tree | 0a4ef23769e52a0f627341ba263aa65bd93b7b39 /libavcodec/wavpackenc.c | |
parent | 39fb3f18c52dd2be3a4c13fe6cce97bfb87f43c8 (diff) | |
download | ffmpeg-17e7fdf61a04f52c499e2d06eab2cf2d22343aa9.tar.gz |
avcodec/wavpackenc: print channel count in av_log call
Fixes a warning with -Wformat-extra-args
Diffstat (limited to 'libavcodec/wavpackenc.c')
-rw-r--r-- | libavcodec/wavpackenc.c | 2 |
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); } |