[FFmpeg-cvslog] avutil: Don't allow using strcasecmp/strncasecmp

Reimar Döffinger git at videolan.org
Mon Nov 7 03:17:56 CET 2011


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sat Nov  5 17:21:04 2011 +0200| [de8d1940b59a2e4b28caf067b70760f0ff4e352c] | committer: Martin Storsjö

avutil: Don't allow using strcasecmp/strncasecmp

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=de8d1940b59a2e4b28caf067b70760f0ff4e352c
---

 libavutil/internal.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/libavutil/internal.h b/libavutil/internal.h
index 5ed3fb8..07e1ef1 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -155,6 +155,10 @@ struct AVDictionary {
 #define puts please_use_av_log_instead_of_puts
 #undef  perror
 #define perror please_use_av_log_instead_of_perror
+#undef strcasecmp
+#define strcasecmp please_use_av_strcasecmp
+#undef strncasecmp
+#define strncasecmp please_use_av_strncasecmp
 
 #define FF_ALLOC_OR_GOTO(ctx, p, size, label)\
 {\



More information about the ffmpeg-cvslog mailing list