[FFmpeg-cvslog] r11469 - trunk/libavformat/avio.c
reimar
subversion
Tue Jan 8 23:07:59 CET 2008
Author: reimar
Date: Tue Jan 8 23:07:59 2008
New Revision: 11469
Log:
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)
Modified:
trunk/libavformat/avio.c
Modified: trunk/libavformat/avio.c
==============================================================================
--- trunk/libavformat/avio.c (original)
+++ trunk/libavformat/avio.c Tue Jan 8 23:07:59 2008
@@ -110,7 +110,6 @@ int url_read(URLContext *h, unsigned cha
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 ch
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)
{
More information about the ffmpeg-cvslog
mailing list