changeset 2010:7190252e8ad0 libavformat

cluster position is relative to segment_start
author aurel
date Mon, 09 Apr 2007 16:29:10 +0000
parents c0c6474ce5a7
children 84abfba4f3bf
files matroska.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/matroska.c	Mon Apr 09 16:27:00 2007 +0000
+++ b/matroska.c	Mon Apr 09 16:29:10 2007 +0000
@@ -1727,7 +1727,7 @@
                                         if ((res = ebml_read_uint(matroska,
                                                           &id, &num)) < 0)
                                             break;
-                                        idx.pos = num;
+                                        idx.pos = num+matroska->segment_start;
                                         break;
                                     }