aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avio.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2003-10-14 04:15:53 +0000
committerMike Melanson <mike@multimedia.cx>2003-10-14 04:15:53 +0000
commit764ef400159b4f640eda8b22e8c7a20d6649a391 (patch)
tree2e359b478a7089f81c973e8153ce653ecadb39a8 /libavformat/avio.c
parenta003ee9a44eca32707eaa049171bc752ba3a9fde (diff)
downloadffmpeg-764ef400159b4f640eda8b22e8c7a20d6649a391.tar.gz
disable encoders where appropriate (patch courtesy of BERO
<bero -at- geocities.co.jp>) Originally committed as revision 2375 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r--libavformat/avio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c
index 18d19bf2f5..5a1bb966be 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -100,6 +100,7 @@ int url_read(URLContext *h, unsigned char *buf, int size)
return ret;
}
+#ifdef CONFIG_ENCODERS
int url_write(URLContext *h, unsigned char *buf, int size)
{
int ret;
@@ -111,6 +112,7 @@ int url_write(URLContext *h, unsigned char *buf, int size)
ret = h->prot->url_write(h, buf, size);
return ret;
}
+#endif //CONFIG_ENCODERS
offset_t url_seek(URLContext *h, offset_t pos, int whence)
{