Commit 0cc88646 authored by Stefano Sabatini's avatar Stefano Sabatini

ffprobe: use av_toupper() in upcase_string()

parent 31801ded
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment