From f1185fbbec13afbbe6f2f8153c03e8a84a225910 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 28 Dec 2012 01:48:40 +0100 Subject: libpostproc: Fix off by 1 error in the C dering code Signed-off-by: Michael Niedermayer --- libpostproc/postprocess_template.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libpostproc/postprocess_template.c') diff --git a/libpostproc/postprocess_template.c b/libpostproc/postprocess_template.c index 6f71a6327e..a6fe783511 100644 --- a/libpostproc/postprocess_template.c +++ b/libpostproc/postprocess_template.c @@ -1324,6 +1324,7 @@ DERING_CORE((%0, %1, 8) ,(%%REGd, %1, 4),%%mm2,%%mm4,%%mm0,%%mm3,%%mm5,%%mm1, int s[10]; const int QP2= c->QP/2 + 1; + src --; for(y=1; y<9; y++){ int x; p= src + stride*y; -- cgit v1.2.3