From 7827813f8cb330425900f5be56ff6a5bc2c36e75 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 26 Aug 2016 20:17:39 +0200 Subject: [PATCH] avfilter/motion_estimation: Fix warning: variable dir_x set but not used Signed-off-by: Michael Niedermayer --- libavfilter/motion_estimation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/motion_estimation.c b/libavfilter/motion_estimation.c index 91cc0035f3..fa6f49dd61 100644 --- a/libavfilter/motion_estimation.c +++ b/libavfilter/motion_estimation.c @@ -250,7 +250,7 @@ uint64_t ff_me_search_ds(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max); uint64_t cost, cost_min; int i; - int dir_x, dir_y; + av_unused int dir_x, dir_y; if (!(cost_min = me_ctx->get_cost(me_ctx, x_mb, y_mb, x_mb, y_mb))) return cost_min;