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/ffm.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/ffm.c')
-rw-r--r--libavformat/ffm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/ffm.c b/libavformat/ffm.c
index db9c2c7fd7..987bc828cc 100644
--- a/libavformat/ffm.c
+++ b/libavformat/ffm.c
@@ -706,6 +706,7 @@ static int ffm_seek(AVFormatContext *s, int stream_index, int64_t wanted_pts, in
return 0;
}
+#ifdef CONFIG_FFSERVER
offset_t ffm_read_write_index(int fd)
{
uint8_t buf[8];
@@ -737,6 +738,7 @@ void ffm_set_write_index(AVFormatContext *s, offset_t pos, offset_t file_size)
ffm->write_index = pos;
ffm->file_size = file_size;
}
+#endif // CONFIG_FFSERVER
static int ffm_read_close(AVFormatContext *s)
{