changeset 1997:fde951d80d2b libavformat

conform to spec
author michael
date Sat, 07 Apr 2007 23:24:31 +0000
parents f7a39abcff5e
children a5addcafd161
files bethsoftvid.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;