libpostproc: Fix off by 1 error in the C dering code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
							parent
							
								
									69db85c30c
								
							
						
					
					
						commit
						f1185fbbec
					
				@ -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;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user