[FFmpeg-devel] [PATCH 5/5] avio: always compile avio_printf, rather than on CONFIG_MUXERS

Anton Khirnov anton
Sat Mar 12 19:14:00 CET 2011


---
 libavformat/aviobuf.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index 8af3ecb..0da445a 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -939,7 +939,6 @@ URLContext *url_fileno(AVIOContext *s)
     return s->opaque;
 }
 
-#if CONFIG_MUXERS
 int avio_printf(AVIOContext *s, const char *fmt, ...)
 {
     va_list ap;
@@ -952,7 +951,6 @@ int avio_printf(AVIOContext *s, const char *fmt, ...)
     avio_write(s, buf, strlen(buf));
     return ret;
 }
-#endif //CONFIG_MUXERS
 
 #if FF_API_OLD_AVIO
 char *url_fgets(AVIOContext *s, char *buf, int buf_size)
-- 
1.7.4.1




More information about the ffmpeg-devel mailing list