aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-04-09 16:29:10 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-04-09 16:29:10 +0000
commit67545b0ce68c24286200a57349aa5e6307e3f7ba (patch)
tree3668b564ddc0b65922f1c4533c46ad0579614d49
parent01344104c1bbb2e6bd30d916a7a154c5382cb130 (diff)
downloadffmpeg-67545b0ce68c24286200a57349aa5e6307e3f7ba.tar.gz
cluster position is relative to segment_start
Originally committed as revision 8694 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/matroska.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroska.c b/libavformat/matroska.c
index 97b497927e..04735995fe 100644
--- a/libavformat/matroska.c
+++ b/libavformat/matroska.c
@@ -1727,7 +1727,7 @@ matroska_parse_index (MatroskaDemuxContext *matroska)
if ((res = ebml_read_uint(matroska,
&id, &num)) < 0)
break;
- idx.pos = num;
+ idx.pos = num+matroska->segment_start;
break;
}