summaryrefslogtreecommitdiffstats
path: root/demux/demux.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-17 23:49:38 +0100
committerwm4 <wm4@nowhere>2015-02-17 23:49:38 +0100
commit082371a1603eaaa6c5c9f4bd57f9e77ff027ee15 (patch)
tree73ca8568f3f50c73cf7d7145ed402d52c3593d7e /demux/demux.h
parentd7a4cb14ff8dc61d87cec54abcd7f7623e8cc666 (diff)
downloadmpv-082371a1603eaaa6c5c9f4bd57f9e77ff027ee15.tar.bz2
mpv-082371a1603eaaa6c5c9f4bd57f9e77ff027ee15.tar.xz
demux: remove file_contents field
Only demux_cue and demux_edl used it. It's a weird field and doesn't help with anything anymore - by now, it only saves a priv context in the mentioned demuxers. Reducing the number of confusing things the demuxer struct has is more important than minimizing the code.
Diffstat (limited to 'demux/demux.h')
-rw-r--r--demux/demux.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/demux/demux.h b/demux/demux.h
index 03a89f2a1a..14154cef0c 100644
--- a/demux/demux.h
+++ b/demux/demux.h
@@ -218,8 +218,6 @@ typedef struct demuxer {
int num_attachments;
struct matroska_data matroska_data;
- // for trivial demuxers which just read the whole file for codec to use
- struct bstr file_contents;
// If the file is a playlist file
struct playlist *playlist;