changeset 11064:86ec27e828b5 libavcodec

Get rid of a check in one direction that cant be true in it in that part of the code. No meassureable speed change.
author michael
date Sun, 31 Jan 2010 02:05:26 +0000
parents 8327c5b4df9b
children fbeb4ea31f87
files h264_loopfilter.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h264_loopfilter.c	Sun Jan 31 00:20:30 2010 +0000
+++ b/h264_loopfilter.c	Sun Jan 31 02:05:26 2010 +0000
@@ -510,7 +510,7 @@
                 int i, l;
                 int mv_done;
 
-                if( FRAME_MBAFF && IS_INTERLACED(mb_type ^ mbm_type)) { //FIXME not posible left
+                if( dir && FRAME_MBAFF && IS_INTERLACED(mb_type ^ mbm_type)) {
                     *(uint64_t*)bS= 0x0001000100010001ULL;
                     mv_done = 1;
                 }