summaryrefslogtreecommitdiffstats
path: root/demux/cue.h
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2015-12-17 01:40:31 -0800
committerKevin Mitchell <kevmitch@gmail.com>2015-12-17 12:38:57 -0800
commit7137afeb2c466135ab0e01ee0f9cbd2abd000563 (patch)
tree04d3531660fc9f6ed2a0ebee538a95e3b77eae78 /demux/cue.h
parentad80cc4eeec506fddd11e2a29d0b1868b3ca8170 (diff)
downloadmpv-7137afeb2c466135ab0e01ee0f9cbd2abd000563.tar.bz2
mpv-7137afeb2c466135ab0e01ee0f9cbd2abd000563.tar.xz
demux: check embedded cuesheet refers to only one file
If someone was "clever" enough to embed a cuesheet referencing multiple files, mpv would create a bunch of nonsense chapter markers.
Diffstat (limited to 'demux/cue.h')
-rw-r--r--demux/cue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/cue.h b/demux/cue.h
index cf4b4c1a08..1ae5f0a203 100644
--- a/demux/cue.h
+++ b/demux/cue.h
@@ -38,5 +38,6 @@ struct cue_track {
bool mp_probe_cue(struct bstr data);
struct cue_file *mp_parse_cue(struct bstr data);
+int mp_check_embedded_cue(struct cue_file *f);
#endif