diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2013-03-03 11:17:50 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-03-07 15:16:36 +0200 |
commit | efa7f4202088c70caba11d7834641bc6eaf41830 (patch) | |
tree | 7ef0beba253b642affcc69f634f192fdc7c12428 /avprobe.c | |
parent | 12c5c1d3e3906e18a96ec380605d2f1504fc3d3b (diff) | |
download | ffmpeg-efa7f4202088c70caba11d7834641bc6eaf41830.tar.gz |
Use the avstring.h locale-independent character type functions
Make sure the behavior does not change with the locale.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'avprobe.c')
-rw-r--r-- | avprobe.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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++; } |