Commit 6123abad authored by Stefano Sabatini's avatar Stefano Sabatini

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
parent b359a90f
...@@ -242,7 +242,7 @@ if((y)<(x)){\ ...@@ -242,7 +242,7 @@ if((y)<(x)){\
#define strcat strcat_is_forbidden_due_to_security_issues_use_av_strlcat #define strcat strcat_is_forbidden_due_to_security_issues_use_av_strlcat
#undef exit #undef exit
#define exit exit_is_forbidden #define exit exit_is_forbidden
#if !(defined(LIBAVFORMAT_BUILD) || defined(FFMPEG_FRAMEHOOK_H)) #ifndef LIBAVFORMAT_BUILD
#undef printf #undef printf
#define printf please_use_av_log #define printf please_use_av_log
#undef fprintf #undef fprintf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment