Revision f8af5cb5 libavcodec/h263.c

View differences:

libavcodec/h263.c
1522 1522
    int vo_ver_id=1; //must be 2 if we want GMC or q-pel
1523 1523
    char buf[255];
1524 1524

  
1525
    s->vo_type= s->has_b_frames ? CORE_VO_TYPE : SIMPLE_VO_TYPE;
1525
    if(s->max_b_frames){
1526
        s->vo_type= ADV_SIMPLE_VO_TYPE;
1527
    }else{
1528
        s->vo_type= SIMPLE_VO_TYPE;
1529
    }
1526 1530

  
1527 1531
    put_bits(&s->pb, 16, 0);
1528 1532
    put_bits(&s->pb, 16, 0x100);        /* video obj */

Also available in: Unified diff