aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-03-14 18:08:45 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2020-03-14 22:07:27 +0100
commitb49af89e032c517e1a90bfb9fe1af731ed843c13 (patch)
treeaaea12db67d0e8ea2fca0de8a7d459a9482b2377 /libavformat
parenta4a98f15b29b32e561ac5d8dea0f027da1bde012 (diff)
downloadffmpeg-b49af89e032c517e1a90bfb9fe1af731ed843c13.tar.gz
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>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/avienc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index 07e1c3319e..297d5b8964 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -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);
}