avutil/opt: Fix type specifier
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 21 Sep 2019 09:15:42 +0000 (11:15 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 22 Sep 2019 16:16:38 +0000 (18:16 +0200)
This bug has been introduced in 9e0a071e.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavutil/opt.c

index 35dc9e1..7c26497 100644 (file)
@@ -1200,7 +1200,7 @@ static void opt_list(void *obj, void *av_log_obj, const char *unit,
                 break;
             case AV_OPT_TYPE_CONST:
                 if (parent_type == AV_OPT_TYPE_INT)
-                    av_log(av_log_obj, AV_LOG_INFO, "%-12d ", opt->default_val.i64);
+                    av_log(av_log_obj, AV_LOG_INFO, "%-12"PRId64" ", opt->default_val.i64);
                 else
                     av_log(av_log_obj, AV_LOG_INFO, "%-12s ", "");
                 break;