You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
avstring: Add locale independent implementations of strcasecmp/strncasecmp
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
committed by
Martin Storsjö
parent
07b172fe8f
commit
ba04ecfdac
@@ -151,4 +151,16 @@ static inline int av_tolower(int c)
|
||||
return c;
|
||||
}
|
||||
|
||||
/*
|
||||
* Locale independent case-insensitive compare.
|
||||
* Note: This means only ASCII-range characters are case-insensitive
|
||||
*/
|
||||
int av_strcasecmp(const char *a, const char *b);
|
||||
|
||||
/**
|
||||
* Locale independent case-insensitive compare.
|
||||
* Note: This means only ASCII-range characters are case-insensitive
|
||||
*/
|
||||
int av_strncasecmp(const char *a, const char *b, size_t n);
|
||||
|
||||
#endif /* AVUTIL_AVSTRING_H */
|
||||
|
||||
Reference in New Issue
Block a user