aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/aviobuf.c
diff options
context:
space:
mode:
authorWolfram Gloger <wmglo@dent.med.uni-muenchen.de>2005-05-30 16:45:08 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-05-30 16:45:08 +0000
commit536ffa59e998fca2c02b8a8ccc7f11b8c9326703 (patch)
tree2275cafdf87b1d959bb78fbd41c067cf90ea1712 /libavformat/aviobuf.c
parentd3655fad7c0899b01a9c2e029d2e7f9f30800327 (diff)
downloadffmpeg-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/aviobuf.c')
-rw-r--r--libavformat/aviobuf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index 993ba449f0..06da44d8dc 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -29,7 +29,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))
{
s->buffer = buffer;
s->buffer_size = buffer_size;
@@ -491,7 +491,7 @@ static int url_read_packet(void *opaque, uint8_t *buf, int buf_size)
return url_read(h, buf, buf_size);
}
-static int url_seek_packet(void *opaque, int64_t offset, int whence)
+static offset_t url_seek_packet(void *opaque, offset_t offset, int whence)
{
URLContext *h = opaque;
return url_seek(h, offset, whence);
@@ -701,7 +701,7 @@ static int dyn_packet_buf_write(void *opaque, uint8_t *buf, int buf_size)
return dyn_buf_write(opaque, buf, buf_size);
}
-static int dyn_buf_seek(void *opaque, offset_t offset, int whence)
+static offset_t dyn_buf_seek(void *opaque, offset_t offset, int whence)
{
DynBuffer *d = opaque;