Ver Fonte

postproc/postprocess_template: fix dering with a 16x16 image

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit fd9adbdbfbd548ef320975552695cfc5c819e339)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer há 6 meses atrás
pai
commit
2f0af494b6
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      libpostproc/postprocess_template.c

+ 1 - 1
libpostproc/postprocess_template.c

@@ -3235,7 +3235,7 @@ static void RENAME(postProcess)(const uint8_t src[], int srcStride, uint8_t dst[
         }
 
         if(mode & DERING){
-            RENAME(dering)(dstBlock - dstStride - 8, dstStride, c, 0, 1, y<=0);
+            RENAME(dering)(dstBlock - dstStride - 8, dstStride, c, x<=8, 1, y<=0);
         }
 
         if((mode & TEMP_NOISE_FILTER)){