Commit f1185fbb authored by Michael Niedermayer's avatar Michael Niedermayer

libpostproc: Fix off by 1 error in the C dering code

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 69db85c3
...@@ -1324,6 +1324,7 @@ DERING_CORE((%0, %1, 8) ,(%%REGd, %1, 4),%%mm2,%%mm4,%%mm0,%%mm3,%%mm5,%%mm1, ...@@ -1324,6 +1324,7 @@ DERING_CORE((%0, %1, 8) ,(%%REGd, %1, 4),%%mm2,%%mm4,%%mm0,%%mm3,%%mm5,%%mm1,
int s[10]; int s[10];
const int QP2= c->QP/2 + 1; const int QP2= c->QP/2 + 1;
src --;
for(y=1; y<9; y++){ for(y=1; y<9; y++){
int x; int x;
p= src + stride*y; p= src + stride*y;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment