diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-12-19 21:11:08 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-12-19 21:11:08 +0000 |
commit | b075e5205915a5ffcbcb5452b8586c11351f0758 (patch) | |
tree | ef18da9c356ad06e2f4e2da697c9b695b1bac4df /libavformat/avio.h | |
parent | 502bdf68937d71006d55aebd9da98e750bce4010 (diff) | |
download | ffmpeg-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/avio.h')
-rw-r--r-- | libavformat/avio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index bdeb502611..66f90d935c 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -105,7 +105,7 @@ int av_url_read_pause(URLContext *h, int pause); * @return >= 0 on success * @see AVInputFormat::read_seek */ -int av_url_read_seek(URLContext *h, +offset_t av_url_read_seek(URLContext *h, int stream_index, int64_t timestamp, int flags); /** @@ -124,7 +124,7 @@ typedef struct URLProtocol { int (*url_close)(URLContext *h); struct URLProtocol *next; int (*url_read_pause)(URLContext *h, int pause); - int (*url_read_seek)(URLContext *h, + offset_t (*url_read_seek)(URLContext *h, int stream_index, int64_t timestamp, int flags); } URLProtocol; @@ -154,7 +154,7 @@ typedef struct { unsigned long (*update_checksum)(unsigned long checksum, const uint8_t *buf, unsigned int size); int error; ///< contains the error code or 0 if no error happened int (*read_pause)(void *opaque, int pause); - int (*read_seek)(void *opaque, + offset_t (*read_seek)(void *opaque, int stream_index, int64_t timestamp, int flags); } ByteIOContext; @@ -189,7 +189,7 @@ int url_feof(ByteIOContext *s); int url_ferror(ByteIOContext *s); int av_url_read_fpause(ByteIOContext *h, int pause); -int av_url_read_fseek(ByteIOContext *h, +offset_t av_url_read_fseek(ByteIOContext *h, int stream_index, int64_t timestamp, int flags); #define URL_EOF (-1) |