Revision 9ebb8e11 libavcodec/h263.c

View differences:

libavcodec/h263.c
2112 2112

  
2113 2113
    if(s->pict_type==B_TYPE){
2114 2114
        s->pb_time= s->pp_time - (s->last_non_b_time - s->time);
2115
        assert(s->pb_time > 0 && s->pb_time < s->pp_time);
2115 2116
    }else{
2116 2117
        s->last_time_base= s->time_base;
2117 2118
        s->time_base= time_div;
2118 2119
        s->pp_time= s->time - s->last_non_b_time;
2119 2120
        s->last_non_b_time= s->time;
2121
        assert(s->pp_time > 0);
2120 2122
    }
2121 2123
}
2122 2124

  

Also available in: Unified diff