Mercurial > libavformat.hg
diff ffm.c @ 905:dbc0145bbf11 libavformat
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 >
author | diego |
---|---|
date | Sat, 21 Jan 2006 18:36:32 +0000 |
parents | c1a07d63a66d |
children | d89d7ef290da |
line wrap: on
line diff
--- a/ffm.c Fri Jan 20 23:48:16 2006 +0000 +++ b/ffm.c Sat Jan 21 18:36:32 2006 +0000 @@ -706,6 +706,7 @@ return 0; } +#ifdef CONFIG_FFSERVER offset_t ffm_read_write_index(int fd) { uint8_t buf[8]; @@ -737,6 +738,7 @@ ffm->write_index = pos; ffm->file_size = file_size; } +#endif // CONFIG_FFSERVER static int ffm_read_close(AVFormatContext *s) {