summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmpdemux/network.c2
-rw-r--r--libmpdemux/stream.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/network.c b/libmpdemux/network.c
index 06734ec7d1..52b4f9ce20 100644
--- a/libmpdemux/network.c
+++ b/libmpdemux/network.c
@@ -627,7 +627,7 @@ nop_streaming_seek( int fd, off_t pos, streaming_ctrl_t *stream_ctrl ) {
}
-int fixup_network_stream_cache(stream_t *stream) {
+void fixup_network_stream_cache(stream_t *stream) {
if(stream->streaming_ctrl->buffering) {
if(stream_cache_size<0) {
// cache option not set, will use our computed value.
diff --git a/libmpdemux/stream.h b/libmpdemux/stream.h
index 46738f80dc..da3f71e0f3 100644
--- a/libmpdemux/stream.h
+++ b/libmpdemux/stream.h
@@ -111,7 +111,7 @@ int cache_stream_seek_long(stream_t *s,off_t pos);
#define cache_stream_seek_long(x,y) stream_seek_long(x,y)
#define stream_enable_cache(x,y,z,w) 1
#endif
-int fixup_network_stream_cache(stream_t *stream);
+void fixup_network_stream_cache(stream_t *stream);
inline static int stream_read_char(stream_t *s){
return (s->buf_pos<s->buf_len)?s->buffer[s->buf_pos++]: