changeset 5822:b49be74d387c libavcodec

Fix mix-up of values in r10690 (deblocking for PAFF). Patch by Martin Zlomek, martin d zlomek a email d cz
author cehoyos
date Mon, 15 Oct 2007 06:23:02 +0000
parents 51918cb97f6f
children 4beef9d0e663
files h264.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Sun Oct 14 22:30:59 2007 +0000
+++ b/h264.c	Mon Oct 15 06:23:02 2007 +0000
@@ -6443,9 +6443,9 @@
                                               (h->slice_type == B_TYPE), edges, step, mask_edge0, mask_edge1 );
         }
         if( IS_INTRA(s->current_picture.mb_type[mb_xy-1]) )
-            bSv[0][0] = FIELD_PICTURE ? 0x0003000300030003ULL : 0x0004000400040004ULL;
+            bSv[0][0] = 0x0004000400040004ULL;
         if( IS_INTRA(s->current_picture.mb_type[h->top_mb_xy]) )
-            bSv[1][0] = 0x0004000400040004ULL;
+            bSv[1][0] = FIELD_PICTURE ? 0x0003000300030003ULL : 0x0004000400040004ULL;
 
 #define FILTER(hv,dir,edge)\
         if(bSv[dir][edge]) {\