diff options
author | Mike Melanson <mike@multimedia.cx> | 2003-10-14 04:15:53 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2003-10-14 04:15:53 +0000 |
commit | 764ef400159b4f640eda8b22e8c7a20d6649a391 (patch) | |
tree | 2e359b478a7089f81c973e8153ce653ecadb39a8 /libavformat/avio.c | |
parent | a003ee9a44eca32707eaa049171bc752ba3a9fde (diff) | |
download | ffmpeg-streaming-764ef400159b4f640eda8b22e8c7a20d6649a391.zip ffmpeg-streaming-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index 18d19bf..5a1bb96 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) { |