summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-07-10 14:09:45 +0000
committerrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-07-10 14:09:45 +0000
commitc18da34bebf8b41d3d0a35f6326462f21f8ca155 (patch)
tree8a7d3cbb3c05e050f805580548958bf938356ec3 /libmpdemux
parent86d34d94b5ad6c726438f083e980f334ba8cdea9 (diff)
downloadmpv-c18da34bebf8b41d3d0a35f6326462f21f8ca155.tar.bz2
mpv-c18da34bebf8b41d3d0a35f6326462f21f8ca155.tar.xz
small warning fix:
function doesn't return anything and the return value is never checked or used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15955 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-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++]: