summaryrefslogtreecommitdiffstats
path: root/demux/demux.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-03 18:50:00 +0100
committerwm4 <wm4@nowhere>2013-11-03 18:50:00 +0100
commit847cbe9d5d03c77491f3139dde6e163426283ccb (patch)
tree76acc956c53b97410b366c2f6f10a9eb0561a621 /demux/demux.c
parent22274f7982e01784a27daac371fe2a1607433425 (diff)
downloadmpv-847cbe9d5d03c77491f3139dde6e163426283ccb.tar.bz2
mpv-847cbe9d5d03c77491f3139dde6e163426283ccb.tar.xz
demux: remove movi_start/movi_end fields
Pointless, using stream->start_pos/end_pos instead. demux_mf was the only place where this was used specially, but we can rely on timestamps instead for this case.
Diffstat (limited to 'demux/demux.c')
-rw-r--r--demux/demux.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/demux/demux.c b/demux/demux.c
index ba632218ec..1ce61da396 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -533,8 +533,6 @@ static struct demuxer *open_given_type(struct MPOpts *opts,
.type = desc->type,
.stream = stream,
.stream_pts = MP_NOPTS_VALUE,
- .movi_start = stream->start_pos,
- .movi_end = stream->end_pos,
.seekable = 1,
.accurate_seek = true,
.filepos = -1,