Revision 70ac76c0 libavcodec/h263.c

View differences:

libavcodec/h263.c
1727 1727
    int time_div, time_mod;
1728 1728
    
1729 1729
    if(s->pict_type==I_TYPE){
1730
        if(picture_number - s->last_vo_picture_number >= 300 || picture_number==0){
1730
        if(!(s->flags&CODEC_FLAG_GLOBAL_HEADER)){
1731 1731
            mpeg4_encode_visual_object_header(s);
1732 1732
            mpeg4_encode_vol_header(s, 0, 0);
1733

  
1734
            s->last_vo_picture_number= picture_number;
1735 1733
        }
1736 1734
        mpeg4_encode_gop_header(s);
1737 1735
    }

Also available in: Unified diff