This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
ffprobe: make upcase_string() ignore non-ASCII characters
This is required as some section names may contain non-ASCII characters (e.g. '_').
tags/n0.10
Stefano Sabatini
14 years ago
parent
2169f971ad
commit
d3e435164b
1 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
ffprobe.c
+ 5
- 1
ffprobe.c
View File
@@ -417,7 +417,11 @@ 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++)
dst[i] = src[i]-32;
if (src[i] >= 'a' && src[i] <= 'z') {
dst[i] = src[i]-32;
} else {
dst[i] = src[i];
}
dst[i] = 0;
return dst;
}
Write
Preview
Loading…
Cancel
Save