diff options
author | wm4 <wm4@nowhere> | 2014-03-25 02:10:24 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-25 02:10:24 +0100 |
commit | 5cae4a807ca3d3c04932490f0b6f72ce1bf57a53 (patch) | |
tree | d3b156e26151aae124101bfd31dcaca058ff6cd4 /player/core.h | |
parent | 92d7dc9e88a1ec94f048f5d4c0edd077a7d9dd7a (diff) | |
download | mpv-5cae4a807ca3d3c04932490f0b6f72ce1bf57a53.tar.bz2 mpv-5cae4a807ca3d3c04932490f0b6f72ce1bf57a53.tar.xz |
player: remove weird separation between no chapters and 0 chapters
For some reason, it mattered whether mpctx->chapters was NULL or not,
even if mpctx->num_chapters was 0. Remove this separation; it serves no
purpose.
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/player/core.h b/player/core.h index 5927091233..bda0309f9d 100644 --- a/player/core.h +++ b/player/core.h @@ -194,8 +194,6 @@ typedef struct MPContext { struct timeline_part *timeline; int num_timeline_parts; int timeline_part; - // NOTE: even if num_chapters==0, chapters being not NULL signifies presence - // of chapter metadata struct chapter *chapters; int num_chapters; double video_offset; |