]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/wmalosslessdec: Use AV_STRINGIFY()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 15 Jan 2020 12:12:28 +0000 (13:12 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 15 Jan 2020 12:49:13 +0000 (13:49 +0100)
Suggested-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/wmalosslessdec.c

index cd7469405ddeaaa0a1f97a09f9cf90c5d8d67e78..b15f812d812fb644732fc3ff2cdcdfdb2428a0a6 100644 (file)
@@ -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;
     }