[FFmpeg-devel] [PATCH] avfilter/vf_find_rect: Use correct format specifier
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Sun Apr 4 12:31:18 EEST 2021
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=]
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
Will apply soon.
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;
--
2.27.0
More information about the ffmpeg-devel
mailing list