From f34e1a0deea45e5ed200f1d8daa36ca92d899e92 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 19 Jun 2017 17:54:02 +0200 Subject: 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.) --- demux/demux.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'demux/demux.h') 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, -- cgit v1.2.3