Commit c2583f17 authored by michaelni's avatar michaelni

2pass stats fix (by ffdshow cvslog)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1822 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9c67b637
...@@ -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