mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
2pass stats fix (by ffdshow cvslog)
Originally committed as revision 1822 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d7b8e4b622
commit
a0c8317396
@ -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,
|
|||||||
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++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user