aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg12.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/mpeg12.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/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 5b5411b1d4..e9e1e27e1a 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -542,6 +542,7 @@ static int mpeg_decode_mb(MpegEncContext *s,
s->mv[1][0][0] = s->last_mv[1][0][0];
s->mv[1][0][1] = s->last_mv[1][0][1];
}
+ s->mb_skiped = 1;
return 0;
}