From eda4cf92d795ae7e233e83f5ad37209d475b7805 Mon Sep 17 00:00:00 2001
From: Anton Khirnov <anton@khirnov.net>
Date: Mon, 14 Mar 2011 20:39:03 +0100
Subject: [PATCH] avio: always compile avio_printf, rather than on
 CONFIG_MUXERS

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
---
 libavformat/aviobuf.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
index 7fbe4ce76c3..3a398210f62 100644
--- a/libavformat/aviobuf.c
+++ b/libavformat/aviobuf.c
@@ -924,7 +924,6 @@ URLContext *url_fileno(AVIOContext *s)
     return s->opaque;
 }
 
-#if CONFIG_MUXERS
 int avio_printf(AVIOContext *s, const char *fmt, ...)
 {
     va_list ap;
@@ -937,7 +936,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)
-- 
GitLab