diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c index 9e184df74a..477a6827ce 100644 --- a/libavcodec/motion_est.c +++ b/libavcodec/motion_est.c @@ -426,13 +426,13 @@ static int sad_hpel_motion_search(MpegEncContext * s, my > ymin && my < ymax) { int dx=0, dy=0; int d, pen_x, pen_y; - const int index= (my<