Commit 17e7fdf6 authored by James Almer's avatar James Almer

avcodec/wavpackenc: print channel count in av_log call

Fixes a warning with -Wformat-extra-args
parent 39fb3f18
...@@ -129,7 +129,7 @@ static av_cold int wavpack_encode_init(AVCodecContext *avctx) ...@@ -129,7 +129,7 @@ static av_cold int wavpack_encode_init(AVCodecContext *avctx)
s->avctx = avctx; s->avctx = avctx;
if (avctx->channels > 255) { 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); return AVERROR(EINVAL);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment