diff options
-rw-r--r-- | libmpdemux/stream.c | 2 | ||||
-rw-r--r-- | libmpdemux/stream.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/libmpdemux/stream.c b/libmpdemux/stream.c index 8b4b21fd14..1175b2e048 100644 --- a/libmpdemux/stream.c +++ b/libmpdemux/stream.c @@ -347,7 +347,7 @@ void stream_reset(stream_t *s){ //stream_seek(s,0); } -void stream_control(stream_t *s, int cmd, void *arg){ +int stream_control(stream_t *s, int cmd, void *arg){ if(!s->control) return STREAM_UNSUPORTED; return s->control(s, cmd, arg); } diff --git a/libmpdemux/stream.h b/libmpdemux/stream.h index 9d53667e8b..8ed624f7a2 100644 --- a/libmpdemux/stream.h +++ b/libmpdemux/stream.h @@ -251,6 +251,7 @@ inline static int stream_skip(stream_t *s,off_t len){ } void stream_reset(stream_t *s); +int stream_control(stream_t *s, int cmd, void *arg); stream_t* new_stream(int fd,int type); void free_stream(stream_t *s); stream_t* new_memory_stream(unsigned char* data,int len); |