Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGildas Bazin <gbazi@altern.org>2006-01-21 21:36:32 +0300
committerDiego Biurrun <diego@biurrun.de>2006-01-21 21:36:32 +0300
commit04f46ced8c6e309b561ba315ef7d3a5421bd26fa (patch)
treedc2131c4551d25a00a7d7fe62952a81ac8c47678 /libavformat/aviobuf.c
parent62327e2852ffe1c3088feafa0dfbd4ddb6632064 (diff)
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.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index b1bc45b73d..2a2fa1d04d 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 */