Browse Source

avformat/avienc: Use AV_STRINGIFY for compile time constant

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.3
Andreas Rheinhardt Michael Niedermayer 6 years ago
parent
commit
b49af89e03
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavformat/avienc.c

+ 2
- 2
libavformat/avienc.c View File

@@ -268,8 +268,8 @@ static int avi_write_header(AVFormatContext *s)
int padding;

if (s->nb_streams > AVI_MAX_STREAM_COUNT) {
av_log(s, AV_LOG_ERROR, "AVI does not support >%d streams\n",
AVI_MAX_STREAM_COUNT);
av_log(s, AV_LOG_ERROR, "AVI does not support "
">"AV_STRINGIFY(AVI_MAX_STREAM_COUNT)" streams\n");
return AVERROR(EINVAL);
}



Loading…
Cancel
Save