From 83df0a84a99d8291e5e1c5f7e2289cbd89107881 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 17 Mar 2016 16:10:12 +0100 Subject: [PATCH] avcodec/motion_est_template: Fix map cache use in qpel_motion_search() Signed-off-by: Michael Niedermayer --- libavcodec/motion_est_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/motion_est_template.c b/libavcodec/motion_est_template.c index 327a24b164..9f6b2c26fc 100644 --- a/libavcodec/motion_est_template.c +++ b/libavcodec/motion_est_template.c @@ -299,7 +299,7 @@ static int qpel_motion_search(MpegEncContext * s, const int cy2= b + t - 2*c; int cxy; - if(map[(index-(1<