diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-01-10 22:11:02 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-01-10 22:49:15 +0100 |
commit | 0cc88646877aea8fc2adb2244f6019707df2082a (patch) | |
tree | 155f7c18fe02ceee33ab7ba58cdd9493bce5fff0 | |
parent | 31801ded9a863252a7e64d0edc4e0c6c3adb72ad (diff) | |
download | ffmpeg-0cc88646877aea8fc2adb2244f6019707df2082a.tar.gz |
ffprobe: use av_toupper() in upcase_string()
-rw-r--r-- | ffprobe.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -423,11 +423,7 @@ static inline char *upcase_string(char *dst, size_t dst_size, const char *src) { int i; for (i = 0; src[i] && i < dst_size-1; i++) - if (src[i] >= 'a' && src[i] <= 'z') { - dst[i] = src[i]-32; - } else { - dst[i] = src[i]; - } + dst[i] = av_toupper(src[i]); dst[i] = 0; return dst; } |