# HG changeset patch # User stefano # Date 1220685965 0 # Node ID 165ae9e8f4fbdaaf767c4fa17cefd5a2d007ed98 # Parent 96c0364ef4cedb5a45084c5ea9b490fdf3a1e20c 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. diff -r 96c0364ef4ce -r 165ae9e8f4fb internal.h --- a/internal.h Thu Sep 04 20:39:09 2008 +0000 +++ b/internal.h Sat Sep 06 07:26:05 2008 +0000 @@ -242,7 +242,7 @@ #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