diff options
author | Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> | 2005-05-30 16:45:08 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-05-30 16:45:08 +0000 |
commit | 536ffa59e998fca2c02b8a8ccc7f11b8c9326703 (patch) | |
tree | 2275cafdf87b1d959bb78fbd41c067cf90ea1712 /libavformat/avio.h | |
parent | d3655fad7c0899b01a9c2e029d2e7f9f30800327 (diff) | |
download | ffmpeg-streaming-536ffa59e998fca2c02b8a8ccc7f11b8c9326703.zip ffmpeg-streaming-536ffa59e998fca2c02b8a8ccc7f11b8c9326703.tar.gz |
Fix url_fsize for large files patch by (Wolfram Gloger: wmglo, dent med uni-muenchen de)
Originally committed as revision 4322 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 109d20a..bb9b457 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -71,7 +71,7 @@ typedef struct { void *opaque; int (*read_packet)(void *opaque, uint8_t *buf, int buf_size); int (*write_packet)(void *opaque, uint8_t *buf, int buf_size); - int (*seek)(void *opaque, offset_t offset, int whence); + offset_t (*seek)(void *opaque, offset_t offset, int whence); offset_t pos; /* position in the file of the current buffer */ int must_flush; /* true if the next seek should flush */ int eof_reached; /* true if eof reached */ @@ -91,7 +91,7 @@ int init_put_byte(ByteIOContext *s, void *opaque, int (*read_packet)(void *opaque, uint8_t *buf, int buf_size), int (*write_packet)(void *opaque, uint8_t *buf, int buf_size), - int (*seek)(void *opaque, offset_t offset, int whence)); + offset_t (*seek)(void *opaque, offset_t offset, int whence)); void put_byte(ByteIOContext *s, int b); void put_buffer(ByteIOContext *s, const unsigned char *buf, int size); |