From 8e287af090d0ef65043f3b30573ead754375ff8f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 1 Jan 2007 21:49:09 +0000 Subject: 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 --- libavformat/avio.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavformat/avio.h') 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); -- cgit v1.2.3