[FFmpeg-devel] [PATCH 4/7] postproc/postprocess_template: fix dering with a 16x16 image

Michael Niedermayer michael at niedermayer.cc
Fri May 2 01:27:32 EEST 2025


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libpostproc/postprocess_template.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libpostproc/postprocess_template.c b/libpostproc/postprocess_template.c
index 0531e39477a..3dfe701b5dc 100644
--- a/libpostproc/postprocess_template.c
+++ b/libpostproc/postprocess_template.c
@@ -3234,7 +3234,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)){
-- 
2.49.0



More information about the ffmpeg-devel mailing list