diff --git a/stream/http.c b/stream/http.c index f4ce03e038..bda6c060c7 100644 --- a/stream/http.c +++ b/stream/http.c @@ -47,8 +47,6 @@ extern const mime_struct_t mime_type_table[]; extern int stream_cache_size; extern int network_bandwidth; -int http_seek(stream_t *stream, off_t pos); - typedef struct { unsigned metaint; unsigned metapos; diff --git a/stream/network.h b/stream/network.h index b4e24525da..b842b1ed24 100644 --- a/stream/network.h +++ b/stream/network.h @@ -66,4 +66,7 @@ HTTP_header_t *http_read_response(int fd); int http_authenticate(HTTP_header_t *http_hdr, URL_t *url, int *auth_retry); URL_t* check4proxies(URL_t *url); +void fixup_network_stream_cache(stream_t *stream); +int http_seek(stream_t *stream, off_t pos); + #endif /* MPLAYER_NETWORK_H */ diff --git a/stream/stream.h b/stream/stream.h index 2656ed51bb..fa12186696 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -175,7 +175,6 @@ 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 -void fixup_network_stream_cache(stream_t *stream); int stream_write_buffer(stream_t *s, unsigned char *buf, int len); inline static int stream_read_char(stream_t *s){