# HG changeset patch # User michael # Date 1175988271 0 # Node ID fde951d80d2b3807f2071e167251477ab39c799c # Parent f7a39abcff5e57cfe295a2927b2815c6d2fc51fb conform to spec diff -r f7a39abcff5e -r fde951d80d2b bethsoftvid.c --- a/bethsoftvid.c Sat Apr 07 23:10:22 2007 +0000 +++ b/bethsoftvid.c Sat Apr 07 23:24:31 2007 +0000 @@ -133,7 +133,7 @@ rle_num_bytes = get_byte(pb); vidbuf_start[vidbuf_nbytes++] = rle_num_bytes; - if(rle_num_bytes > 0x80){ // rle sequence + if(rle_num_bytes >= 0x80){ // rle sequence if(block_type == VIDEO_I_FRAME) vidbuf_start[vidbuf_nbytes++] = get_byte(pb); bytes_copied += rle_num_bytes - 0x80;