diff --git a/libavcodec/h264_loopfilter.c b/libavcodec/h264_loopfilter.c
index e7cece38a83079fc9cd0425bb62a1673d84432cb..8cddfb80b703ef5b9a77503b298188b243f053bf 100644
--- a/libavcodec/h264_loopfilter.c
+++ b/libavcodec/h264_loopfilter.c
@@ -510,7 +510,7 @@ static av_always_inline void filter_mb_dir(H264Context *h, int mb_x, int mb_y, u
                 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;
                 }