summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavutil/common.h
diff options
context:
space:
mode:
authorMatthias Hopf <mat@mshopf.de>2006-05-22 16:57:36 +0000
committerMatthias Hopf <mat@mshopf.de>2006-05-22 16:57:36 +0000
commite25e5998d1e8a3ffb3417a0effe1b7ce5999bbb5 (patch)
tree7e967eafae36f65784c930c30d25ae2c3821a2a2 /src/libffmpeg/libavutil/common.h
parent2bb7dbae2dc7e959d2ac5d416431bfed7201c51a (diff)
downloadxine-lib-e25e5998d1e8a3ffb3417a0effe1b7ce5999bbb5.tar.gz
xine-lib-e25e5998d1e8a3ffb3417a0effe1b7ce5999bbb5.tar.bz2
Fixed gcc warnings (Adrian Schroeter).
CVS patchset: 7993 CVS date: 2006/05/22 16:57:36
Diffstat (limited to 'src/libffmpeg/libavutil/common.h')
-rw-r--r--src/libffmpeg/libavutil/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libffmpeg/libavutil/common.h b/src/libffmpeg/libavutil/common.h
index 33fd59518..a0ef2faee 100644
--- a/src/libffmpeg/libavutil/common.h
+++ b/src/libffmpeg/libavutil/common.h
@@ -539,7 +539,9 @@ tend= read_time();\
#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
+#undef sprintf
#define sprintf sprintf_is_forbidden_due_to_security_issues_use_snprintf
+#undef strcat
#define strcat strcat_is_forbidden_due_to_security_issues_use_pstrcat
#if !(defined(LIBAVFORMAT_BUILD) || defined(_FRAMEHOOK_H))
//#define printf please_use_av_log