projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39ff027
)
avcodec/htmlsubtitles: Avoid locale dependant isdigit()
author
Michael Niedermayer
<michael@niedermayer.cc>
Wed, 28 Aug 2019 19:56:35 +0000
(21:56 +0200)
committer
Michael Niedermayer
<michael@niedermayer.cc>
Wed, 11 Sep 2019 20:43:14 +0000
(22:43 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/htmlsubtitles.c
patch
|
blob
|
history
diff --git
a/libavcodec/htmlsubtitles.c
b/libavcodec/htmlsubtitles.c
index
d9221ba
..
8ce66e0
100644
(file)
--- a/
libavcodec/htmlsubtitles.c
+++ b/
libavcodec/htmlsubtitles.c
@@
-55,7
+55,7
@@
static int scanbraces(const char* in) {
if (strncmp(in, "{\\an", 4) != 0) {
return 0;
}
- if (!isdigit(in[4])) {
+ if (!
av_
isdigit(in[4])) {
return 0;
}
if (in[5] != '}') {