[FFmpeg-cvslog] avfilter/motion_estimation: Fix warning: variable dir_x set but not used

Michael Niedermayer git at videolan.org
Fri Aug 26 21:41:09 EEST 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Fri Aug 26 20:17:39 2016 +0200| [7827813f8cb330425900f5be56ff6a5bc2c36e75] | committer: Michael Niedermayer

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

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7827813f8cb330425900f5be56ff6a5bc2c36e75
---

 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 91cc003..fa6f49d 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;



More information about the ffmpeg-cvslog mailing list