summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 27fb241e33..3f733f0a71 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -69,6 +69,11 @@ void url_set_interrupt_cb(URLInterruptCB *interrupt_cb);
/* not implemented */
int url_poll(URLPollEntry *poll_table, int n, int timeout);
+/**
+ * passing this as the "whence" parameter to a seek function causes it to
+ * return the filesize without seeking anywhere, supporting this is optional
+ * if its not supprted then the seek function will return <0
+ */
#define AVSEEK_SIZE 0x10000
typedef struct URLProtocol {