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
This commit is contained in:
rathann 2005-07-10 14:09:45 +00:00
parent 86d34d94b5
commit c18da34beb
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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++]: