mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-01 12:22:09 +00:00
avfilter/motion_estimation: Fix warning: variable dir_x set but not used
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
b07d4a0fb2
commit
7827813f8c
@ -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);
|
int y_max = FFMIN(y_mb + me_ctx->search_param, me_ctx->y_max);
|
||||||
uint64_t cost, cost_min;
|
uint64_t cost, cost_min;
|
||||||
int i;
|
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)))
|
if (!(cost_min = me_ctx->get_cost(me_ctx, x_mb, y_mb, x_mb, y_mb)))
|
||||||
return cost_min;
|
return cost_min;
|
||||||
|
Loading…
Reference in New Issue
Block a user