cluster position is relative to segment_start

Originally committed as revision 8694 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Aurelien Jacobs 2007-04-09 16:29:10 +00:00
parent 01344104c1
commit 67545b0ce6

View File

@ -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;
}