diff options
author | Guillaume LecrefECERF <foxcore@gmail.com> | 2008-01-08 22:07:59 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2008-01-08 22:07:59 +0000 |
commit | 727601bc4b02aa2cd96d1e7ede66d2a875c6756f (patch) | |
tree | 5a9db623aef7b50ce6eff1c680cc1eb407d64a30 /libavformat/avio.c | |
parent | 9656df79948afa1a3beaff2ff1071442ea5d4a4f (diff) | |
download | ffmpeg-727601bc4b02aa2cd96d1e7ede66d2a875c6756f.tar.gz |
url_write is part of the public API so it may not be under ifdef.
Also fixes a compile error if all muxers and protocols are disabled.
Patch by Guillaume LECERF (foxcore gmail com)
Originally committed as revision 11469 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r-- | libavformat/avio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index b39f80a5f4..5f5bff158c 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -110,7 +110,6 @@ int url_read(URLContext *h, unsigned char *buf, int size) return ret; } -#if defined(CONFIG_MUXERS) || defined(CONFIG_PROTOCOLS) int url_write(URLContext *h, unsigned char *buf, int size) { int ret; @@ -122,7 +121,6 @@ int url_write(URLContext *h, unsigned char *buf, int size) ret = h->prot->url_write(h, buf, size); return ret; } -#endif //CONFIG_MUXERS || CONFIG_PROTOCOLS offset_t url_seek(URLContext *h, offset_t pos, int whence) { |