summaryrefslogtreecommitdiff
path: root/packages/ffmpeg/ffmpeg-0.4.9-pre1/common.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ffmpeg/ffmpeg-0.4.9-pre1/common.patch')
-rw-r--r--packages/ffmpeg/ffmpeg-0.4.9-pre1/common.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/ffmpeg/ffmpeg-0.4.9-pre1/common.patch b/packages/ffmpeg/ffmpeg-0.4.9-pre1/common.patch
index e69de29bb2..5a1ceaa10d 100644
--- a/packages/ffmpeg/ffmpeg-0.4.9-pre1/common.patch
+++ b/packages/ffmpeg/ffmpeg-0.4.9-pre1/common.patch
@@ -0,0 +1,13 @@
+--- ffmpeg-0.4.9-pre1/libavcodec/common.h.orig 2004-12-24 23:49:50.000000000 +0100
++++ ffmpeg-0.4.9-pre1/libavcodec/common.h 2004-12-24 23:51:37.000000000 +0100
+@@ -1292,10 +1292,6 @@
+ #define time time_is_forbidden_due_to_security_issues
+ #define rand rand_is_forbidden_due_to_state_trashing
+ #define srand srand_is_forbidden_due_to_state_trashing
+-#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)\
+ {\