summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-10-06 18:42:46 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-10-06 18:42:46 +0000
commit85c15960b490a55fdf0925fc0289ff278bb99bc1 (patch)
tree59ba671bf5f817572a54db4f84271e9922269dfd /libavformat/avio.h
parent326ede48aeadf72b870c53ea08ecd79144812112 (diff)
Move the definitions of AVSEEK_SIZE to make it appear before the
description of url_seek(), which references it. Originally committed as revision 25376 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 223bb436a6..118b7f27c9 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -135,6 +135,13 @@ int url_read_complete(URLContext *h, unsigned char *buf, int size);
int url_write(URLContext *h, const unsigned char *buf, int size);
/**
+ * Passing this as the "whence" parameter to a seek function causes it to
+ * return the filesize without seeking anywhere. Supporting this is optional.
+ * If it is not supported then the seek function will return <0.
+ */
+#define AVSEEK_SIZE 0x10000
+
+/**
* Change the position that will be used by the next read/write
* operation on the resource accessed by h.
*
@@ -237,13 +244,6 @@ int64_t av_url_read_seek(URLContext *h, int stream_index,
int64_t timestamp, int flags);
/**
- * Passing this as the "whence" parameter to a seek function causes it to
- * return the filesize without seeking anywhere. Supporting this is optional.
- * If it is not supported then the seek function will return <0.
- */
-#define AVSEEK_SIZE 0x10000
-
-/**
* Oring this flag as into the "whence" parameter to a seek function causes it to
* seek by any means (like reopening and linear reading) or other normally unreasonble
* means that can be extreemly slow.