summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-01-31 02:05:26 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-01-31 02:05:26 +0000
commit37b2b0d6cd2ac0f556ae41251385e6c5493d6bcc (patch)
tree4fcf3e29af20f2b3258e7d2e81ca6d3f74fb0c7b /libavcodec
parente62bd367ea56526985e0e618c393cf2a28f157ff (diff)
Get rid of a check in one direction that cant be true in it in that part
of the code. No meassureable speed change. Originally committed as revision 21566 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264_loopfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_loopfilter.c b/libavcodec/h264_loopfilter.c
index e7cece38a8..8cddfb80b7 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;
}