[FFmpeg-cvslog] avcodec/wmalosslessdec: Use AV_STRINGIFY()
Michael Niedermayer
git at videolan.org
Wed Jan 15 14:52:33 EET 2020
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Jan 15 13:12:28 2020 +0100| [d26589c27abf60ede7380680294a4cfa1d869389] | committer: Michael Niedermayer
avcodec/wmalosslessdec: Use AV_STRINGIFY()
Suggested-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d26589c27abf60ede7380680294a4cfa1d869389
---
libavcodec/wmalosslessdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
More information about the ffmpeg-cvslog
mailing list