[MPlayer-cvslog] r25681 - trunk/libmpdemux/demux_mkv.c
eugeni
subversion at mplayerhq.hu
Fri Jan 11 22:45:13 CET 2008
Author: eugeni
Date: Fri Jan 11 22:45:13 2008
New Revision: 25681
Log:
Set extradata for subtitle tracks in mkv demuxer.
Modified:
trunk/libmpdemux/demux_mkv.c
Modified: trunk/libmpdemux/demux_mkv.c
==============================================================================
--- trunk/libmpdemux/demux_mkv.c (original)
+++ trunk/libmpdemux/demux_mkv.c Fri Jan 11 22:45:13 2008
@@ -2308,6 +2308,10 @@ demux_mkv_open_sub (demuxer_t *demuxer,
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
{
More information about the MPlayer-cvslog
mailing list