aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2008-09-06 07:26:05 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2008-09-06 07:26:05 +0000
commit6123abad2e852952567c648faae6c6056cc5cac7 (patch)
treeb64846331037708a53dc266a8b8eea9d9230b010
parentb359a90f95c314f34ed28924c0bc07b6d971df3f (diff)
downloadffmpeg-6123abad2e852952567c648faae6c6056cc5cac7.tar.gz
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
-rw-r--r--libavutil/internal.h2
1 files changed, 1 insertions, 1 deletions
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