[FFmpeg-devel] [PATCH 06/17] cpu-test: include stdio.h only for test prog
Ronald S. Bultje
rsbultje
Tue Jan 18 20:50:44 CET 2011
Hi,
On Tue, Jan 18, 2011 at 2:32 PM, Mans Rullgard <mans at mansr.com> wrote:
> ---
> ?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
OK.
Ronald
More information about the ffmpeg-devel
mailing list