1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00

demux_mkv: remove unused field

This commit is contained in:
wm4 2014-01-31 19:49:48 +01:00
parent 00af143176
commit 2305ffcaba

View File

@ -154,9 +154,6 @@ typedef struct mkv_track {
/* latest added index entry for this track */
int last_index_entry;
/* For VobSubs and SSA/ASS */
sh_sub_t *sh_sub;
} mkv_track_t;
typedef struct mkv_index {
@ -1646,7 +1643,6 @@ static int demux_mkv_open_sub(demuxer_t *demuxer, mkv_track_t *track)
track->stream = sh;
sh_sub_t *sh_s = sh->sub;
sh->demuxer_id = track->tnum;
track->sh_sub = sh_s;
sh->codec = subtitle_type;
bstr buffer = demux_mkv_decode(demuxer->log, track, in, 2);
if (buffer.start && buffer.start != track->private_data) {