mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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>
This commit is contained in:
parent
a4a98f15b2
commit
b49af89e03
@ -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…
Reference in New Issue
Block a user