Revision c62da797

View differences:

libavcodec/h263.c
6065 6065
    if(s->codec_tag == ff_get_fourcc("WV1F") && show_bits(gb, 24) == 0x575630){
6066 6066
        skip_bits(gb, 24);
6067 6067
        if(get_bits(gb, 8) == 0xF0)
6068
            return decode_vop_header(s, gb);
6068
            goto end;
6069 6069
    }
6070 6070

  
6071 6071
    startcode = 0xff;
......
6128 6128
            mpeg4_decode_gop_header(s, gb);
6129 6129
        }
6130 6130
        else if(startcode == VOP_STARTCODE){
6131
            return decode_vop_header(s, gb);
6131
            break;
6132 6132
        }
6133 6133

  
6134 6134
        align_get_bits(gb);
6135 6135
        startcode = 0xff;
6136 6136
    }
6137
end:
6138
    if(s->flags& CODEC_FLAG_LOW_DELAY)
6139
        s->low_delay=1;
6140
    return decode_vop_header(s, gb);
6137 6141
}
6138 6142

  
6139 6143
/* don't understand why they choose a different header ! */
libavcodec/h263dec.c
402 402
            ret = ff_mpeg4_decode_picture_header(s, &gb);
403 403
        }
404 404
        ret = ff_mpeg4_decode_picture_header(s, &s->gb);
405

  
406
        if(s->flags& CODEC_FLAG_LOW_DELAY)
407
            s->low_delay=1;
408 405
    } else if (s->codec_id == CODEC_ID_H263I) {
409 406
        ret = intel_h263_decode_picture_header(s);
410 407
    } else if (s->h263_flv) {

Also available in: Unified diff