From a0c831739679a83e83c9d73dbd41bc2ac974da38 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 25 Apr 2003 19:46:00 +0000 Subject: 2pass stats fix (by ffdshow cvslog) Originally committed as revision 1822 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/msmpeg4.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/msmpeg4.c') diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c index 817fdea..df39315 100644 --- a/libavcodec/msmpeg4.c +++ b/libavcodec/msmpeg4.c @@ -550,6 +550,7 @@ void msmpeg4_encode_mb(MpegEncContext * s, put_bits(&s->pb, 1, 1); s->last_bits++; s->misc_bits++; + s->skip_count++; return; } @@ -652,6 +653,7 @@ void msmpeg4_encode_mb(MpegEncContext * s, msmpeg4_encode_block(s, block[i], i); } s->i_tex_bits += get_bits_diff(s); + s->i_count++; } } -- cgit v1.1