aboutsummaryrefslogtreecommitdiff
path: root/libpostproc
diff options
context:
space:
mode:
authorMichael Niedermayer2012-12-28 01:48:40 +0100
committerMichael Niedermayer2012-12-28 01:48:40 +0100
commitf1185fbbec13afbbe6f2f8153c03e8a84a225910 (patch)
tree823843882104a3ee5abaea7379535f2d154ec99b /libpostproc
parent69db85c30c9199f523b0e218927fb90b0fb8f924 (diff)
libpostproc: Fix off by 1 error in the C dering code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libpostproc')
-rw-r--r--libpostproc/postprocess_template.c1
1 files changed, 1 insertions, 0 deletions
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;