summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-01-01 21:49:09 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-01-01 21:49:09 +0000
commit8e287af090d0ef65043f3b30573ead754375ff8f (patch)
tree9dbf6079fc3ef4287edce6436643ed6e2317f6dd /libavformat/avio.h
parentecec87afc6f14794c7062ee4e83d05c6da1fd944 (diff)
seekless filesize retrieving support in 7 lines of code, also doesnt break compatibility
Originally committed as revision 7395 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index f0fd1a85cf..27fb241e33 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -69,6 +69,8 @@ void url_set_interrupt_cb(URLInterruptCB *interrupt_cb);
/* not implemented */
int url_poll(URLPollEntry *poll_table, int n, int timeout);
+#define AVSEEK_SIZE 0x10000
+
typedef struct URLProtocol {
const char *name;
int (*url_open)(URLContext *h, const char *filename, int flags);