diff options
author | Gildas Bazin <gbazi@altern.org> | 2006-01-21 18:36:32 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-01-21 18:36:32 +0000 |
commit | 04f46ced8c6e309b561ba315ef7d3a5421bd26fa (patch) | |
tree | dc2131c4551d25a00a7d7fe62952a81ac8c47678 /libavformat/aviobuf.c | |
parent | 62327e2852ffe1c3088feafa0dfbd4ddb6632064 (diff) | |
download | ffmpeg-streaming-04f46ced8c6e309b561ba315ef7d3a5421bd26fa.zip ffmpeg-streaming-04f46ced8c6e309b561ba315ef7d3a5421bd26fa.tar.gz |
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 >
Originally committed as revision 4879 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index b1bc45b..2a2fa1d 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -53,8 +53,6 @@ int init_put_byte(ByteIOContext *s, return 0; } - -#ifdef CONFIG_MUXERS static void flush_buffer(ByteIOContext *s) { if (s->buf_ptr > s->buffer) { @@ -104,7 +102,6 @@ void put_flush_packet(ByteIOContext *s) flush_buffer(s); s->must_flush = 0; } -#endif //CONFIG_MUXERS offset_t url_fseek(ByteIOContext *s, offset_t offset, int whence) { @@ -193,7 +190,7 @@ int url_ferror(ByteIOContext *s) return s->error; } -#ifdef CONFIG_MUXERS +#if defined(CONFIG_MUXERS) || defined(CONFIG_PROTOCOLS) void put_le32(ByteIOContext *s, unsigned int val) { put_byte(s, val); @@ -254,7 +251,7 @@ void put_tag(ByteIOContext *s, const char *tag) put_byte(s, *tag++); } } -#endif //CONFIG_MUXERS +#endif //CONFIG_MUXERS || CONFIG_PROTOCOLS /* Input stream */ |