summaryrefslogtreecommitdiff
path: root/libavfilter/vf_find_rect.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-04 11:26:47 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-04 12:02:45 +0200
commit0617e578a3ebd22ccc2ec136d65b529ca60fd5b9 (patch)
tree18c433010105258688a8536c24a04d7b8bab8fd1 /libavfilter/vf_find_rect.c
parentb1b7cc698bed7338ff692cd65fe304941eaf6bce (diff)
downloadffmpeg-0617e578a3ebd22ccc2ec136d65b529ca60fd5b9.tar.gz
avfilter/vf_find_rect: Use correct format specifier
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 <ffmpeg@gyani.pro> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/vf_find_rect.c')
-rw-r--r--libavfilter/vf_find_rect.c2
1 files changed, 1 insertions, 1 deletions
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;