diff options
author | James Almer <jamrial@gmail.com> | 2016-01-13 19:26:40 -0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-15 17:53:59 +0100 |
commit | b901d1bbc9a04f8b192cd6b246038e312470024d (patch) | |
tree | 33771cb02de5e3ff0489c8f605713997d4dcd34a | |
parent | 3fd30f53a99e10c02691946a78a1210af95d71e5 (diff) | |
download | ffmpeg-n2.6.7.tar.gz |
avcodec/wavpackenc: print channel count in av_log calln2.6.7
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wavpackenc.c b/libavcodec/wavpackenc.c index a1ea66b235..cc9b0837b6 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); } |