# HG changeset patch # User michael # Date 1104620529 0 # Node ID 25a24139f296f4c32292d801902a36ab2e8b19d3 # Parent 21c5ef8a4ff7ca19d92c3e4a0c9184fa295c57d0 WV1F support diff -r 21c5ef8a4ff7 -r 25a24139f296 h263.c --- a/h263.c Fri Dec 31 17:37:23 2004 +0000 +++ b/h263.c Sat Jan 01 23:02:09 2005 +0000 @@ -4580,7 +4580,7 @@ memset(block, 0, sizeof(DCTELEM)*64); goto retry; } - av_log(s->avctx, AV_LOG_ERROR, "run overflow at %dx%d\n", s->mb_x, s->mb_y); + av_log(s->avctx, AV_LOG_ERROR, "run overflow at %dx%d i:%d\n", s->mb_x, s->mb_y, s->mb_intra); return -1; } j = scan_table[i]; @@ -5923,6 +5923,13 @@ /* search next start code */ align_get_bits(gb); + + if(s->avctx->codec_tag == ff_get_fourcc("WV1F") && show_bits(gb, 24) == 0x575630){ + skip_bits(gb, 24); + if(get_bits(gb, 8) == 0xF0) + return decode_vop_header(s, gb); + } + startcode = 0xff; for(;;) { v = get_bits(gb, 8);