diff options
author | wm4 <wm4@nowhere> | 2017-06-19 17:54:02 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-19 17:56:51 +0200 |
commit | f34e1a0deea45e5ed200f1d8daa36ca92d899e92 (patch) | |
tree | 4d28e0521f83ff6771d830f60981f8570b32dea0 /demux/demux.h | |
parent | e0c50289d6dc579bcf0eb8dbc9f0a68138d29aa8 (diff) | |
download | mpv-f34e1a0deea45e5ed200f1d8daa36ca92d899e92.tar.bz2 mpv-f34e1a0deea45e5ed200f1d8daa36ca92d899e92.tar.xz |
demux: replace custom return codes with CONTROL_ ones
This is more uniform, and potentially gets rid of some past copyrights.
It might be that this subtly changes caching behavior (it seems before
this, it synced to the demuxer if the length was unknown, which is not
what we want.)
Diffstat (limited to 'demux/demux.h')
-rw-r--r-- | demux/demux.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/demux/demux.h b/demux/demux.h index 8a1da4e400..b1b83b3156 100644 --- a/demux/demux.h +++ b/demux/demux.h @@ -30,11 +30,6 @@ #include "packet.h" #include "stheader.h" -// DEMUXER control commands/answers -#define DEMUXER_CTRL_NOTIMPL -1 -#define DEMUXER_CTRL_DONTKNOW 0 -#define DEMUXER_CTRL_OK 1 - enum demux_ctrl { DEMUXER_CTRL_SWITCHED_TRACKS = 1, DEMUXER_CTRL_GET_TIME_LENGTH, |