[FFmpeg-cvslog] cpu-test: include stdio.h only for test prog
Mans Rullgard
git
Tue Jan 18 23:07:48 CET 2011
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sat Jan 15 15:09:26 2011 +0000| [ec5f57192aa46435eb0ade1b052d05fc28fd7886] | committer: Mans Rullgard
cpu-test: include stdio.h only for test prog
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ec5f57192aa46435eb0ade1b052d05fc28fd7886
---
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)
{
More information about the ffmpeg-cvslog
mailing list