Commit a0c83173 authored by Michael Niedermayer's avatar Michael Niedermayer

2pass stats fix (by ffdshow cvslog)

Originally committed as revision 1822 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d7b8e4b6
...@@ -550,6 +550,7 @@ void msmpeg4_encode_mb(MpegEncContext * s, ...@@ -550,6 +550,7 @@ void msmpeg4_encode_mb(MpegEncContext * s,
put_bits(&s->pb, 1, 1); put_bits(&s->pb, 1, 1);
s->last_bits++; s->last_bits++;
s->misc_bits++; s->misc_bits++;
s->skip_count++;
return; return;
} }
...@@ -652,6 +653,7 @@ void msmpeg4_encode_mb(MpegEncContext * s, ...@@ -652,6 +653,7 @@ void msmpeg4_encode_mb(MpegEncContext * s,
msmpeg4_encode_block(s, block[i], i); msmpeg4_encode_block(s, block[i], i);
} }
s->i_tex_bits += get_bits_diff(s); s->i_tex_bits += get_bits_diff(s);
s->i_count++;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment