Set extradata for subtitle tracks in mkv demuxer.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25681 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eugeni 2008-01-11 21:45:13 +00:00
parent 18e9531401
commit 2d0715a915
1 changed files with 4 additions and 0 deletions

View File

@ -2308,6 +2308,10 @@ demux_mkv_open_sub (demuxer_t *demuxer, mkv_track_t *track, int sid)
track->private_data = buffer;
track->private_size = size;
}
sh->extradata=malloc(track->private_size);
memcpy (sh->extradata, track->private_data,
track->private_size);
sh->extradata_len = track->private_size;
}
else
{