[Ffmpeg-cvslog] r8694 - trunk/libavformat/matroska.c

aurel subversion
Mon Apr 9 18:29:10 CEST 2007


Author: aurel
Date: Mon Apr  9 18:29:10 2007
New Revision: 8694

Modified:
   trunk/libavformat/matroska.c

Log:
cluster position is relative to segment_start

Modified: trunk/libavformat/matroska.c
==============================================================================
--- trunk/libavformat/matroska.c	(original)
+++ trunk/libavformat/matroska.c	Mon Apr  9 18:29:10 2007
@@ -1727,7 +1727,7 @@ matroska_parse_index (MatroskaDemuxConte
                                         if ((res = ebml_read_uint(matroska,
                                                           &id, &num)) < 0)
                                             break;
-                                        idx.pos = num;
+                                        idx.pos = num+matroska->segment_start;
                                         break;
                                     }
 




More information about the ffmpeg-cvslog mailing list