]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/vf_find_rect: Use correct format specifier
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Sun, 4 Apr 2021 09:26:47 +0000 (11:26 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Sun, 4 Apr 2021 10:02:45 +0000 (12:02 +0200)
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>
libavfilter/vf_find_rect.c

index b6f5a1be29721a735fbf106f2151195ccea7c8e6..5f3abf66c646f42bda3adb514a7c18b122f31b06 100644 (file)
@@ -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;