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.c | |
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.c')
-rw-r--r-- | stream/network.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stream/network.c b/stream/network.c index b23ed8ef02..fb432d47c0 100644 --- a/stream/network.c +++ b/stream/network.c @@ -170,7 +170,7 @@ URL_t *url_new_with_proxy(const char *urlstr) } int -http_send_request( URL_t *url, off_t pos ) { +http_send_request( URL_t *url, int64_t pos ) { HTTP_header_t *http_hdr; URL_t *server_url; char str[256]; @@ -362,7 +362,7 @@ http_authenticate(HTTP_header_t *http_hdr, URL_t *url, int *auth_retry) { } int -http_seek( stream_t *stream, off_t pos ) { +http_seek( stream_t *stream, int64_t pos ) { HTTP_header_t *http_hdr = NULL; int fd; if( stream==NULL ) return 0; @@ -458,7 +458,7 @@ nop_streaming_read( int fd, char *buffer, int size, streaming_ctrl_t *stream_ctr } int -nop_streaming_seek( int fd, off_t pos, streaming_ctrl_t *stream_ctrl ) { +nop_streaming_seek( int fd, int64_t pos, streaming_ctrl_t *stream_ctrl ) { return -1; } |