[FFmpeg-devel] [PATCH] avutil/opt: Fix type specifier

Paul B Mahol onemda at gmail.com
Sat Sep 21 18:11:57 EEST 2019


lgtm

On 9/21/19, Andreas Rheinhardt <andreas.rheinhardt at gmail.com> wrote:
> This bug has been introduced in 9e0a071e.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavutil/opt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavutil/opt.c b/libavutil/opt.c
> index 35dc9e153d..7c2649725f 100644
> --- a/libavutil/opt.c
> +++ b/libavutil/opt.c
> @@ -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;
> --
> 2.20.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list