From e25e5998d1e8a3ffb3417a0effe1b7ce5999bbb5 Mon Sep 17 00:00:00 2001 From: Matthias Hopf Date: Mon, 22 May 2006 16:57:36 +0000 Subject: Fixed gcc warnings (Adrian Schroeter). CVS patchset: 7993 CVS date: 2006/05/22 16:57:36 --- src/libffmpeg/libavutil/common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libffmpeg/libavutil') 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 -- cgit v1.2.3