Browse Source

avcodec/wavpackenc: print channel count in av_log call

Fixes a warning with -Wformat-extra-args
tags/n3.0
James Almer 10 years ago
parent
commit
17e7fdf61a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/wavpackenc.c

+ 1
- 1
libavcodec/wavpackenc.c View File

@@ -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);
}



Loading…
Cancel
Save