Revision 59c673d5 libavcodec/h263.c

View differences:

libavcodec/h263.c
4832 4832

  
4833 4833
    check_marker(gb, "before time_increment");
4834 4834
    
4835
    if(s->picture_number==0 && (show_bits(gb, s->time_increment_bits+1)&1)==0){
4835
    if(s->time_increment_bits==0){
4836 4836
        printf("hmm, seems the headers arnt complete, trying to guess time_increment_bits\n");
4837
        
4838 4837

  
4839 4838
        for(s->time_increment_bits=1 ;s->time_increment_bits<16; s->time_increment_bits++){
4840 4839
            if(show_bits(gb, s->time_increment_bits+1)&1) break;
4841 4840
        }
4841

  
4842 4842
        printf("my guess is %d bits ;)\n",s->time_increment_bits);
4843 4843
    }
4844 4844
    
......
5070 5070

  
5071 5071
        switch(startcode){
5072 5072
        case 0x120:
5073
            decode_vol_header(s, gb);
5073
            if(decode_vol_header(s, gb) < 0) 
5074
                return -1;
5074 5075
            break;
5075 5076
        case USER_DATA_STARTCODE:
5076 5077
            decode_user_data(s, gb);

Also available in: Unified diff