From efa7f4202088c70caba11d7834641bc6eaf41830 Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Sun, 3 Mar 2013 11:17:50 +0100 Subject: Use the avstring.h locale-independent character type functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make sure the behavior does not change with the locale. Signed-off-by: Martin Storsjö --- avprobe.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'avprobe.c') diff --git a/avprobe.c b/avprobe.c index 38b74a3bae..2f15d5ce2a 100644 --- a/avprobe.c +++ b/avprobe.c @@ -23,6 +23,7 @@ #include "libavformat/avformat.h" #include "libavcodec/avcodec.h" +#include "libavutil/avstring.h" #include "libavutil/opt.h" #include "libavutil/pixdesc.h" #include "libavutil/dict.h" @@ -302,7 +303,7 @@ static void old_print_object_header(const char *name) str = p = av_strdup(name); while (*p) { - *p = toupper(*p); + *p = av_toupper(*p); p++; } @@ -319,7 +320,7 @@ static void old_print_object_footer(const char *name) str = p = av_strdup(name); while (*p) { - *p = toupper(*p); + *p = av_toupper(*p); p++; } -- cgit v1.2.3