From f55f99ce1909a7a5a1ab7bcad87badaa7c609138 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 24 May 2013 20:32:59 +0200 Subject: stream: kill STREAM_CTRL_RESET Was unused. --- stream/stream.c | 3 --- stream/stream.h | 1 - 2 files changed, 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 -- cgit v1.2.3