[FFmpeg-cvslog] r10274 - trunk/libavformat/matroskadec.c

conrad subversion
Fri Aug 31 20:24:10 CEST 2007


Author: conrad
Date: Fri Aug 31 20:24:09 2007
New Revision: 10274

Log:
SimpleBlock keyframe flag is the most significant bit


Modified:
   trunk/libavformat/matroskadec.c

Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c	(original)
+++ trunk/libavformat/matroskadec.c	Fri Aug 31 20:24:09 2007
@@ -2291,7 +2291,7 @@ matroska_parse_block(MatroskaDemuxContex
     flags = *data++;
     size -= 3;
     if (is_keyframe == -1)
-        is_keyframe = flags & 1 ? PKT_FLAG_KEY : 0;
+        is_keyframe = flags & 0x80 ? PKT_FLAG_KEY : 0;
 
     if (matroska->skip_to_keyframe) {
         if (!is_keyframe || st != matroska->skip_to_stream)




More information about the ffmpeg-cvslog mailing list