[Ffmpeg-cvslog] CVS: ffmpeg/libavformat mov.c,1.149,1.150

Baptiste Coudurier CVS bcoudurier
Thu May 18 17:17:13 CEST 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv650/libavformat

Modified Files:
	mov.c 
Log Message:
fix keyframe check, stss might there but count set to 0

Index: mov.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/mov.c,v
retrieving revision 1.149
retrieving revision 1.150
diff -u -d -r1.149 -r1.150
--- mov.c	14 May 2006 14:21:05 -0000	1.149
+++ mov.c	18 May 2006 15:17:09 -0000	1.150
@@ -1867,7 +1867,7 @@
 
     // If the keyframes table exists, mark any samples that are in the table as key frames.
     // If no table exists, treat very sample as a key frame.
-    if (sc->keyframes) {
+    if (sc->keyframe_count) {
         a = 0;
         b = sc->keyframe_count - 1;
 
@@ -2010,7 +2010,7 @@
     }
 
     // Step 3. Find the prior sync. sample using the Sync sample atom (stss)
-    if (sc->keyframes) {
+    if (sc->keyframe_count) {
         a = 0;
         b = sc->keyframe_count - 1;
         while (a < b) {





More information about the ffmpeg-cvslog mailing list