aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/msmpeg4.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2001-07-24 20:43:41 +0000
committerFabrice Bellard <fabrice@bellard.org>2001-07-24 20:43:41 +0000
commit3bb4e23a8aa15fc93b91b92d8c6437358fd71113 (patch)
tree88d1c70067e443197f377cf563fb459990bae3db /libavcodec/msmpeg4.c
parentfb16b7e7b33ec84765d9bb9b36e0859a7b2c0b05 (diff)
downloadffmpeg-3bb4e23a8aa15fc93b91b92d8c6437358fd71113.tar.gz
added skip macroblock optimization (big perf win on black regions for example)
Originally committed as revision 13 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/msmpeg4.c')
-rw-r--r--libavcodec/msmpeg4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c
index 044d964ee5..ac14da68f3 100644
--- a/libavcodec/msmpeg4.c
+++ b/libavcodec/msmpeg4.c
@@ -694,6 +694,7 @@ int msmpeg4_decode_mb(MpegEncContext *s,
s->mv_type = MV_TYPE_16X16;
s->mv[0][0][0] = 0;
s->mv[0][0][1] = 0;
+ s->mb_skiped = 1;
return 0;
}
}