Vorbis header packet lengths were calculated incorrectly.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10080 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mosu 2003-05-06 10:36:32 +00:00
parent d97bf7589b
commit 4b244acded
1 changed files with 2 additions and 1 deletions

View File

@ -493,7 +493,8 @@ static int check_track_information(mkv_demuxer_t *d) {
t->headers[1] = &c[offset + t->header_sizes[0]];
t->headers[2] = &c[offset + t->header_sizes[0] +
t->header_sizes[1]];
t->header_sizes[2] = t->private_size - offset;
t->header_sizes[2] = t->private_size - offset -
t->header_sizes[0] - t->header_sizes[1];
t->a_formattag = 0xFFFE;
} else {