From 6123abad2e852952567c648faae6c6056cc5cac7 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 6 Sep 2008 07:26:05 +0000 Subject: [PATCH] Remove wrong and unnecessary condition. VHOOK filters are not special so they are not supposed to use the printf, fprintf, perror and puts functions but av_log instead. Originally committed as revision 15221 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/internal.h b/libavutil/internal.h index 7d55ac658d..0eb25d5f6c 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -242,7 +242,7 @@ if((y)<(x)){\ #define strcat strcat_is_forbidden_due_to_security_issues_use_av_strlcat #undef exit #define exit exit_is_forbidden -#if !(defined(LIBAVFORMAT_BUILD) || defined(FFMPEG_FRAMEHOOK_H)) +#ifndef LIBAVFORMAT_BUILD #undef printf #define printf please_use_av_log #undef fprintf