From de8d1940b59a2e4b28caf067b70760f0ff4e352c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reimar=20D=C3=B6ffinger?= Date: Sat, 5 Nov 2011 17:21:04 +0200 Subject: [PATCH] avutil: Don't allow using strcasecmp/strncasecmp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö --- libavutil/internal.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavutil/internal.h b/libavutil/internal.h index 5ed3fb81c3..07e1ef1f05 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)\ {\