aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/aviobuf.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-12-19 21:11:08 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-12-19 21:11:08 +0000
commitb075e5205915a5ffcbcb5452b8586c11351f0758 (patch)
treeef18da9c356ad06e2f4e2da697c9b695b1bac4df /libavformat/aviobuf.c
parent502bdf68937d71006d55aebd9da98e750bce4010 (diff)
downloadffmpeg-b075e5205915a5ffcbcb5452b8586c11351f0758.tar.gz
Make recently added and still unused read_seek functions return offset_t.
Originally committed as revision 11274 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 025e0b6980..45248a95ab 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -532,7 +532,7 @@ int url_fdopen(ByteIOContext **s, URLContext *h)
(*s)->max_packet_size = max_packet_size;
if(h->prot) {
(*s)->read_pause = (int (*)(void *, int))h->prot->url_read_pause;
- (*s)->read_seek = (int (*)(void *, int, int64_t, int))h->prot->url_read_seek;
+ (*s)->read_seek = (offset_t (*)(void *, int, int64_t, int))h->prot->url_read_seek;
}
return 0;
}
@@ -646,11 +646,11 @@ int av_url_read_fpause(ByteIOContext *s, int pause)
return s->read_pause(s->opaque, pause);
}
-int av_url_read_fseek(ByteIOContext *s,
+offset_t av_url_read_fseek(ByteIOContext *s,
int stream_index, int64_t timestamp, int flags)
{
URLContext *h = s->opaque;
- int ret;
+ offset_t ret;
if (!s->read_seek)
return AVERROR(ENOSYS);
ret = s->read_seek(h, stream_index, timestamp, flags);