avfilter/motion_estimation: Fix warning: variable dir_x set but not used
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 26 Aug 2016 18:17:39 +0000 (20:17 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 26 Aug 2016 18:17:39 +0000 (20:17 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/motion_estimation.c

index 91cc003..fa6f49d 100644 (file)
@@ -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;