From ddffcce67810fbde5508a353f85760da7a1b4a95 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 18 Nov 2012 20:46:12 +0100 Subject: stream, demux: replace off_t with int64_t On reasonable systems, these types were the same anyway. Even on unreasonable systems (seriously, which?), this may reduce potential breakage. --- stream/network.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stream/network.h') diff --git a/stream/network.h b/stream/network.h index 96d486e910..ee6a940c99 100644 --- a/stream/network.h +++ b/stream/network.h @@ -67,10 +67,10 @@ streaming_ctrl_t *streaming_ctrl_new(void); int streaming_bufferize( streaming_ctrl_t *streaming_ctrl, char *buffer, int size); int nop_streaming_read( int fd, char *buffer, int size, streaming_ctrl_t *stream_ctrl ); -int nop_streaming_seek( int fd, off_t pos, streaming_ctrl_t *stream_ctrl ); +int nop_streaming_seek( int fd, int64_t pos, streaming_ctrl_t *stream_ctrl ); void streaming_ctrl_free( streaming_ctrl_t *streaming_ctrl ); -int http_send_request(URL_t *url, off_t pos); +int http_send_request(URL_t *url, int64_t pos); HTTP_header_t *http_read_response(int fd); int http_authenticate(HTTP_header_t *http_hdr, URL_t *url, int *auth_retry); @@ -78,6 +78,6 @@ URL_t* check4proxies(const URL_t *url); URL_t *url_new_with_proxy(const char *urlstr); void fixup_network_stream_cache(stream_t *stream); -int http_seek(stream_t *stream, off_t pos); +int http_seek(stream_t *stream, int64_t pos); #endif /* MPLAYER_NETWORK_H */ -- cgit v1.2.3