Mercurial > mplayer.hg
changeset 25653:ec6e8ea85a87
Set extradata for subtitle tracks in mkv demuxer.
author | eugeni |
---|---|
date | Fri, 11 Jan 2008 21:45:13 +0000 |
parents | 6e25dda14b62 |
children | 0190aa38aae2 |
files | libmpdemux/demux_mkv.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_mkv.c Fri Jan 11 21:45:10 2008 +0000 +++ b/libmpdemux/demux_mkv.c Fri Jan 11 21:45:13 2008 +0000 @@ -2308,6 +2308,10 @@ 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 {