diff options
author | wm4 <wm4@nowhere> | 2018-09-08 15:25:53 +0200 |
---|---|---|
committer | Anton Kindestam <antonki@kth.se> | 2018-12-06 10:31:30 +0100 |
commit | 21c9ee71e2e52078f2b23de13ba7c7b413e118ab (patch) | |
tree | 8d06cada619f982895d4d1317282a365b6339122 /demux/demux.c | |
parent | 9d8afcf79e3a4b563800dcf7fc08779355e9d602 (diff) | |
download | mpv-21c9ee71e2e52078f2b23de13ba7c7b413e118ab.tar.bz2 mpv-21c9ee71e2e52078f2b23de13ba7c7b413e118ab.tar.xz |
demux: remove some dead code
No idea what that shit is. Likely forgotten when timed metadata was
introduced, and some of the old mechanisms were replaced.
Diffstat (limited to 'demux/demux.c')
-rw-r--r-- | demux/demux.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/demux/demux.c b/demux/demux.c index e9565166ab..7d3a37663d 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -2189,14 +2189,6 @@ static void update_final_metadata(demuxer_t *demuxer) assert(demuxer == demuxer->in->d_user); struct demux_internal *in = demuxer->in; - int num_streams = MPMIN(in->num_streams, demuxer->num_update_stream_tags); - for (int n = 0; n < num_streams; n++) { - struct sh_stream *sh = in->streams[n]; - // (replace them even if unnecessary, simpler and doesn't hurt) - if (sh->ds->tags_reader) - mp_tags_replace(sh->tags, sh->ds->tags_reader->sh); - } - struct mp_packet_tags *tags = in->master_stream ? in->master_stream->tags_reader : NULL; |