changeset 1483:8e7d8112de29 libavcodec

100l
author michaelni
date Sat, 27 Sep 2003 00:01:46 +0000
parents b372ecde32a8
children a2930ee10a6b
files h263.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/h263.c	Fri Sep 26 22:18:25 2003 +0000
+++ b/h263.c	Sat Sep 27 00:01:46 2003 +0000
@@ -1583,6 +1583,7 @@
         s->ac_esc_length= 7+2+1+6+1+12+1;
         
         if(s->flags & CODEC_FLAG_GLOBAL_HEADER){
+
             s->avctx->extradata= av_malloc(1024);
             init_put_bits(&s->pb, s->avctx->extradata, 1024, NULL, NULL);
             
@@ -2905,7 +2906,7 @@
                 int16_t * const mot_val= s->motion_val[s->block_index[0]];
                 const int stride= s->block_wrap[0]*2;
 
-              do{
+//              do{ //FIXME
                 bits= show_bits(&s->gb, 17);
                 if(bits==MOTION_MARKER){
                     return mb_num-1;
@@ -2936,7 +2937,7 @@
                     fprintf(stderr, "cbpc corrupted at %d %d\n", s->mb_x, s->mb_y);
                     return -1;
                 }
-              }while(cbpc == 20);
+//              }while(cbpc == 20);
 
                 s->cbp_table[xy]= cbpc&(8+3); //8 is dquant