aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMartin Zlomek <martin.zlomek@email.cz>2007-10-15 06:23:02 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2007-10-15 06:23:02 +0000
commit44a7e65a517ecc18d6da6f6529dc909ef4cac3c7 (patch)
tree37fe02ba50e658e08b51b083fcdf490e2b618492 /libavcodec/h264.c
parentf28b10483accd131125752e45160508b260ca9ac (diff)
downloadffmpeg-44a7e65a517ecc18d6da6f6529dc909ef4cac3c7.tar.gz
Fix mix-up of values in r10690 (deblocking for PAFF).
Patch by Martin Zlomek, martin d zlomek a email d cz Originally committed as revision 10738 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 9633995239..9a01fb67e3 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -6443,9 +6443,9 @@ static void filter_mb_fast( H264Context *h, int mb_x, int mb_y, uint8_t *img_y,
(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]) {\