Browse code

avfilter/motion_estimation: Fix warning: variable dir_x set but not used

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

Michael Niedermayer authored on 2016/08/27 03:17:39
Showing 1 changed files
... ...
@@ -250,7 +250,7 @@ uint64_t ff_me_search_ds(AVMotionEstContext *me_ctx, int x_mb, int y_mb, int *mv
250 250
     int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max);
251 251
     uint64_t cost, cost_min;
252 252
     int i;
253
-    int dir_x, dir_y;
253
+    av_unused int dir_x, dir_y;
254 254
 
255 255
     if (!(cost_min = me_ctx->get_cost(me_ctx, x_mb, y_mb, x_mb, y_mb)))
256 256
         return cost_min;