[FFmpeg-devel] [PATCH 06/17] cpu-test: include stdio.h only for test prog

Mans Rullgard mans
Tue Jan 18 20:32:10 CET 2011


---
 libavutil/cpu.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/libavutil/cpu.c b/libavutil/cpu.c
index 766f13f..1e03491 100644
--- a/libavutil/cpu.c
+++ b/libavutil/cpu.c
@@ -16,8 +16,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include <stdio.h>
-
 #include "cpu.h"
 #include "config.h"
 
@@ -39,6 +37,7 @@ int av_get_cpu_flags(void)
 #ifdef TEST
 
 #undef printf
+#include <stdio.h>
 
 int main(void)
 {
-- 
1.7.3.5




More information about the ffmpeg-devel mailing list