Skip to content
Snippets Groups Projects
Commit f1185fbb authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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

parent 69db85c3
No related branches found
No related tags found
No related merge requests found
...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment