diff options
author | wm4 <wm4@nowhere> | 2013-05-24 20:32:59 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-26 17:13:09 +0200 |
commit | f55f99ce1909a7a5a1ab7bcad87badaa7c609138 (patch) | |
tree | ab4f018ebe4416f25eb2875a5811a19e167471ed /stream | |
parent | 3d6b4ea4b6bd5855205bbfe1bfd023844fa5e964 (diff) | |
download | mpv-f55f99ce1909a7a5a1ab7bcad87badaa7c609138.tar.bz2 mpv-f55f99ce1909a7a5a1ab7bcad87badaa7c609138.tar.xz |
stream: kill STREAM_CTRL_RESET
Was unused.
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream.c | 3 | ||||
-rw-r--r-- | stream/stream.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/stream/stream.c b/stream/stream.c index 3f7983e294..9de53aba52 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -603,9 +603,6 @@ void stream_reset(stream_t *s) s->buf_pos = s->buf_len = 0; s->eof = 0; } - if (s->control) - s->control(s, STREAM_CTRL_RESET, NULL); - //stream_seek(s,0); } int stream_control(stream_t *s, int cmd, void *arg) diff --git a/stream/stream.h b/stream/stream.h index 5b6da3af9a..e4a482f737 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -81,7 +81,6 @@ #define MAX_STREAM_PROTOCOLS 20 -#define STREAM_CTRL_RESET 0 #define STREAM_CTRL_GET_TIME_LENGTH 1 #define STREAM_CTRL_SEEK_TO_CHAPTER 2 #define STREAM_CTRL_GET_CURRENT_CHAPTER 3 |