浏览代码

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 6 月之前
父节点
当前提交
2f0af494b6
共有 1 个文件被更改,包括 1 次插入1 次删除
  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){
         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)){
         if((mode & TEMP_NOISE_FILTER)){