diff h263.c @ 278:6a5293bc8089 libavcodec

oops
author michaelni
date Fri, 22 Mar 2002 02:36:08 +0000
parents 5cb2978e701f
children 1fc96b02142e
line wrap: on
line diff
--- a/h263.c	Fri Mar 22 02:21:17 2002 +0000
+++ b/h263.c	Fri Mar 22 02:36:08 2002 +0000
@@ -2125,7 +2125,7 @@
             break;
         }
         state = ((state << 8) | v) & 0xffffff;
-        if( get_bits_count(&s->gb) > s->gb.size*8){
+        if( get_bits_count(&s->gb) > s->gb.size*8-32){
             printf("no VOP startcode found\n");
             return -1;
         }