summaryrefslogtreecommitdiff
path: root/libavutil/internal.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-05 17:21:04 +0200
committerMartin Storsjö <martin@martin.st>2011-11-06 11:52:59 +0200
commitde8d1940b59a2e4b28caf067b70760f0ff4e352c (patch)
treeab7bbad33f4ff724b56fa3787ad7c23751f3f6f0 /libavutil/internal.h
parentbb3244dee26e3c500b14830e9500cb2d3658f809 (diff)
avutil: Don't allow using strcasecmp/strncasecmp
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavutil/internal.h')
-rw-r--r--libavutil/internal.h4
1 files changed, 4 insertions, 0 deletions
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)\
{\