Mercurial > libavformat.hg
diff avio.c @ 905:dbc0145bbf11 libavformat
Add --disable-protocols option to configure to disable I/O protocol from
libavformat. Also fix build with --disable-muxers and --disable-ffserver.
patch by Gildas Bazin < gbazin **@** altern **.** org >
| author | diego |
|---|---|
| date | Sat, 21 Jan 2006 18:36:32 +0000 |
| parents | edbe5c3717f9 |
| children | 0899bfe4105c |
line wrap: on
line diff
--- a/avio.c Fri Jan 20 23:48:16 2006 +0000 +++ b/avio.c Sat Jan 21 18:36:32 2006 +0000 @@ -100,7 +100,7 @@ return ret; } -#ifdef CONFIG_MUXERS +#if defined(CONFIG_MUXERS) || defined(CONFIG_PROTOCOLS) int url_write(URLContext *h, unsigned char *buf, int size) { int ret; @@ -112,7 +112,7 @@ ret = h->prot->url_write(h, buf, size); return ret; } -#endif //CONFIG_MUXERS +#endif //CONFIG_MUXERS || CONFIG_PROTOCOLS offset_t url_seek(URLContext *h, offset_t pos, int whence) {
