Skip to content

Commit

Permalink
avcodec/wmalosslessdec: Use AV_STRINGIFY()
Browse files Browse the repository at this point in the history
Suggested-by: Andreas Rheinhardt <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
michaelni committed Jan 15, 2020
1 parent 9d6be83 commit d26589c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavcodec/wmalosslessdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d26589c

Please sign in to comment.