summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/stream.c3
-rw-r--r--stream/stream.h1
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