changeset 1216:b874217f906b libavcodec

2pass stats fix (by ffdshow cvslog)
author michaelni
date Fri, 25 Apr 2003 19:46:00 +0000
parents 9182f5e70e9b
children eb2affe57a2a
files msmpeg4.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/msmpeg4.c	Fri Apr 25 16:18:35 2003 +0000
+++ b/msmpeg4.c	Fri Apr 25 19:46:00 2003 +0000
@@ -550,6 +550,7 @@
 	    put_bits(&s->pb, 1, 1);
             s->last_bits++;
 	    s->misc_bits++;
+            s->skip_count++;
 
 	    return;
 	}
@@ -652,6 +653,7 @@
             msmpeg4_encode_block(s, block[i], i);
         }
         s->i_tex_bits += get_bits_diff(s);
+        s->i_count++;
     }
 }