mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-29 10:52:20 +00:00
avcodec/wmalosslessdec: Use AV_STRINGIFY()
Suggested-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
9d6be83085
commit
d26589c27a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user