summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-07 20:21:11 +0200
committerwm4 <wm4@nowhere>2013-09-07 20:34:49 +0200
commit082ea0de125a273b9128a9fa5eec839407b4093b (patch)
tree8d874c017456842af1ad7c50754544b51728461b
parentc4b935adf74aa8d08030df89554f32d054d376da (diff)
downloadmpv-082ea0de125a273b9128a9fa5eec839407b4093b.tar.bz2
mpv-082ea0de125a273b9128a9fa5eec839407b4093b.tar.xz
mp_core: fix a comment
track.demuxer is never NULL (anymore).
-rw-r--r--mpvcore/mp_core.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mpvcore/mp_core.h b/mpvcore/mp_core.h
index 04756c9efd..cb426425b1 100644
--- a/mpvcore/mp_core.h
+++ b/mpvcore/mp_core.h
@@ -107,10 +107,9 @@ struct track {
// If the track's stream changes with the timeline (ordered chapters).
bool under_timeline;
- // NULL if not backed by a demuxer (e.g. external subtitles).
// Value can change if under_timeline==true.
struct demuxer *demuxer;
- // Invariant: (!demuxer && !stream) || stream->demuxer == demuxer
+ // Invariant: !stream || stream->demuxer == demuxer
struct sh_stream *stream;
// For external subtitles, which are read fully on init. Do not attempt