From 67545b0ce68c24286200a57349aa5e6307e3f7ba Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Mon, 9 Apr 2007 16:29:10 +0000 Subject: [PATCH] cluster position is relative to segment_start Originally committed as revision 8694 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/matroska.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }