[FFmpeg-cvslog] libpostproc: Fix off by 1 error in the C dering code

Michael Niedermayer git at videolan.org
Fri Dec 28 03:01:44 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Dec 28 01:48:40 2012 +0100| [f1185fbbec13afbbe6f2f8153c03e8a84a225910] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f1185fbbec13afbbe6f2f8153c03e8a84a225910
---

 libpostproc/postprocess_template.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libpostproc/postprocess_template.c b/libpostproc/postprocess_template.c
index 6f71a63..a6fe783 100644
--- a/libpostproc/postprocess_template.c
+++ b/libpostproc/postprocess_template.c
@@ -1324,6 +1324,7 @@ DERING_CORE((%0, %1, 8)    ,(%%REGd, %1, 4),%%mm2,%%mm4,%%mm0,%%mm3,%%mm5,%%mm1,
     int s[10];
     const int QP2= c->QP/2 + 1;
 
+    src --;
     for(y=1; y<9; y++){
         int x;
         p= src + stride*y;



More information about the ffmpeg-cvslog mailing list