summaryrefslogtreecommitdiff
path: root/libavcodec/wmalosslessdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2020-01-15 13:12:28 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2020-01-15 13:49:13 +0100
commitd26589c27abf60ede7380680294a4cfa1d869389 (patch)
treec665effe4d88947de03cb0f6bffb78d828561e59 /libavcodec/wmalosslessdec.c
parent9d6be83085ccb1f52b923064eb93566ddbb0a1f7 (diff)
avcodec/wmalosslessdec: Use AV_STRINGIFY()
Suggested-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/wmalosslessdec.c')
-rw-r--r--libavcodec/wmalosslessdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
index cd7469405d..b15f812d81 100644
--- a/libavcodec/wmalosslessdec.c
+++ b/libavcodec/wmalosslessdec.c
@@ -192,7 +192,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
av_assert0(avctx->channels >= 0);
if (avctx->channels > WMALL_MAX_CHANNELS) {
avpriv_request_sample(avctx,
- "More than %d channels", WMALL_MAX_CHANNELS);
+ "More than " AV_STRINGIFY(WMALL_MAX_CHANNELS) " channels");
return AVERROR_PATCHWELCOME;
}