From 0617e578a3ebd22ccc2ec136d65b529ca60fd5b9 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 4 Apr 2021 11:26:47 +0200 Subject: [PATCH] avfilter/vf_find_rect: Use correct format specifier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes the following GCC warning: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] Reviewed-by: Gyan Doshi Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_find_rect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_find_rect.c b/libavfilter/vf_find_rect.c index b6f5a1be29..5f3abf66c6 100644 --- a/libavfilter/vf_find_rect.c +++ b/libavfilter/vf_find_rect.c @@ -217,7 +217,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) } } - av_log(ctx, AV_LOG_INFO, "Found at n=%lld pts_time=%f x=%d y=%d with score=%f\n", + av_log(ctx, AV_LOG_INFO, "Found at n=%"PRId64" pts_time=%f x=%d y=%d with score=%f\n", inlink->frame_count_out, TS2D(in->pts) * av_q2d(inlink->time_base), best_x, best_y, best_score); foc->last_x = best_x;