summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-05-16 16:32:53 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:04 +0200
commitd91a82c206cc7cc976cec04604b1a8bf5671a49c (patch)
tree6542c3b0fb956bc17204f4ede18b2ab91a86e49a
parent556e204a112ee286972e50d636dec8b46ca125d7 (diff)
downloadmpv-d91a82c206cc7cc976cec04604b1a8bf5671a49c.tar.bz2
mpv-d91a82c206cc7cc976cec04604b1a8bf5671a49c.tar.xz
demux: fix typos in comments
How does this happen?
-rw-r--r--demux/demux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demux/demux.c b/demux/demux.c
index 36b6ec9231..97e5116bab 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -1500,7 +1500,7 @@ static void add_packet_locked(struct sh_stream *stream, demux_packet_t *dp)
adjust_seek_range_on_packet(ds, dp);
- // Possible update duration based on highest TS demuxed (but ignore subs).
+ // Possibly update duration based on highest TS demuxed (but ignore subs).
if (stream->type != STREAM_SUB) {
if (dp->segmented)
ts = MP_PTS_MIN(ts, dp->end);
@@ -1516,7 +1516,7 @@ static void add_packet_locked(struct sh_stream *stream, demux_packet_t *dp)
}
}
- // (should preferable be outside of the lock)
+ // (should preferably be outside of the lock)
if (in->enable_recording && !in->recorder &&
in->opts->record_file && in->opts->record_file[0])
{