# HG changeset patch # User michaelni # Date 1031903166 0 # Node ID 5a158f0d198163f19c887238e975717fc9ebd1e1 # Parent a0901e38c564381e1f3df0c67031c461eb72633f fixing 1/0 if the headers are incomplete (like what M$ encoder generates) diff -r a0901e38c564 -r 5a158f0d1981 h263.c --- a/h263.c Thu Sep 12 18:28:17 2002 +0000 +++ b/h263.c Fri Sep 13 07:46:06 2002 +0000 @@ -3989,6 +3989,11 @@ s->low_delay=0; } // printf("pic: %d, qpel:%d part:%d resync:%d\n", s->pict_type, s->quarter_sample, s->data_partitioning, s->resync_marker); + + if(s->time_increment_resolution==0){ + s->time_increment_resolution=1; +// fprintf(stderr, "time_increment_resolution is illegal\n"); + } time_incr=0; while (get_bits1(&s->gb) != 0) time_incr++;