1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avutil: Don't allow using strcasecmp/strncasecmp

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Reimar Döffinger 2011-11-05 17:21:04 +02:00 committed by Martin Storsjö
parent bb3244dee2
commit de8d1940b5

View File

@ -155,6 +155,10 @@ struct AVDictionary {
#define puts please_use_av_log_instead_of_puts #define puts please_use_av_log_instead_of_puts
#undef perror #undef perror
#define perror please_use_av_log_instead_of_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)\ #define FF_ALLOC_OR_GOTO(ctx, p, size, label)\
{\ {\