diff options
author | wm4 <wm4@nowhere> | 2012-11-18 20:46:12 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-20 18:00:15 +0100 |
commit | ddffcce67810fbde5508a353f85760da7a1b4a95 (patch) | |
tree | 74d9b416568c12759a0c198651bce0e78a0c2284 /stream/network.h | |
parent | 51dac4e0702e361b88e5a373fbb0165f5ad47420 (diff) | |
download | mpv-ddffcce67810fbde5508a353f85760da7a1b4a95.tar.bz2 mpv-ddffcce67810fbde5508a353f85760da7a1b4a95.tar.xz |
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.
Diffstat (limited to 'stream/network.h')
-rw-r--r-- | stream/network.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |