Remove wrong and unnecessary condition. VHOOK filters are not special
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 6 Sep 2008 07:26:05 +0000 (07:26 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 6 Sep 2008 07:26:05 +0000 (07:26 +0000)
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

index 7d55ac6..0eb25d5 100644 (file)
@@ -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