diff avio.h @ 2840:f51675f78402 libavformat

Make recently added and still unused read_seek functions return offset_t.
author michael
date Wed, 19 Dec 2007 21:11:08 +0000
parents b51319dd86e5
children 0182bdddc45e
line wrap: on
line diff
--- a/avio.h	Wed Dec 19 20:57:13 2007 +0000
+++ b/avio.h	Wed Dec 19 21:11:08 2007 +0000
@@ -105,7 +105,7 @@
  * @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 @@
     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 @@
     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_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)