[FFmpeg-cvslog] r25376 - trunk/libavformat/avio.h

stefano subversion
Wed Oct 6 20:42:47 CEST 2010


Author: stefano
Date: Wed Oct  6 20:42:46 2010
New Revision: 25376

Log:
Move the definitions of AVSEEK_SIZE to make it appear before the
description of url_seek(), which references it.

Modified:
   trunk/libavformat/avio.h

Modified: trunk/libavformat/avio.h
==============================================================================
--- trunk/libavformat/avio.h	Wed Oct  6 19:53:02 2010	(r25375)
+++ trunk/libavformat/avio.h	Wed Oct  6 20:42:46 2010	(r25376)
@@ -135,6 +135,13 @@ int url_read_complete(URLContext *h, uns
 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, 
                          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.



More information about the ffmpeg-cvslog mailing list