Browse Source

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

Stefano Sabatini 16 years ago
parent
commit
6123abad2e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libavutil/internal.h

+ 1 - 1
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