aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ffmpeg/ffmpeg/common.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ffmpeg/ffmpeg/common.patch')
-rw-r--r--packages/ffmpeg/ffmpeg/common.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/ffmpeg/ffmpeg/common.patch b/packages/ffmpeg/ffmpeg/common.patch
index e69de29bb2..233a454a48 100644
--- a/packages/ffmpeg/ffmpeg/common.patch
+++ b/packages/ffmpeg/ffmpeg/common.patch
@@ -0,0 +1,13 @@
+--- ffmpeg/libavcodec/common.h.orig 2005-02-10 15:10:34.000000000 +0100
++++ ffmpeg/libavcodec/common.h 2005-02-10 15:11:28.000000000 +0100
+@@ -501,10 +501,6 @@
+ #define srand srand_is_forbidden_due_to_state_trashing
+ #define sprintf sprintf_is_forbidden_due_to_security_issues_use_snprintf
+ #define strcat strcat_is_forbidden_due_to_security_issues_use_pstrcat
+-#if !(defined(LIBAVFORMAT_BUILD) || defined(_FRAMEHOOK_H))
+-#define printf please_use_av_log
+-#define fprintf please_use_av_log
+-#endif
+
+ #define CHECKED_ALLOCZ(p, size)\
+ {\