Fixes a warning with -Wformat-extra-args
(cherry picked from commit 17e7fdf61a04f52c499e2d06eab2cf2d22343aa9)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
... | ... |
@@ -129,7 +129,7 @@ static av_cold int wavpack_encode_init(AVCodecContext *avctx) |
129 | 129 |
s->avctx = avctx; |
130 | 130 |
|
131 | 131 |
if (avctx->channels > 255) { |
132 |
- av_log(avctx, AV_LOG_ERROR, "Too many channels\n", avctx->channels); |
|
132 |
+ av_log(avctx, AV_LOG_ERROR, "Invalid channel count: %d\n", avctx->channels); |
|
133 | 133 |
return AVERROR(EINVAL); |
134 | 134 |
} |
135 | 135 |
|