[Ffmpeg-cvslog] r8668 - trunk/libavformat/bethsoftvid.c

michael subversion
Sun Apr 8 01:24:31 CEST 2007


Author: michael
Date: Sun Apr  8 01:24:31 2007
New Revision: 8668

Modified:
   trunk/libavformat/bethsoftvid.c

Log:
conform to spec


Modified: trunk/libavformat/bethsoftvid.c
==============================================================================
--- trunk/libavformat/bethsoftvid.c	(original)
+++ trunk/libavformat/bethsoftvid.c	Sun Apr  8 01:24:31 2007
@@ -133,7 +133,7 @@ static int read_frame(BVID_DemuxContext 
         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;




More information about the ffmpeg-cvslog mailing list