avcodec/htmlsubtitles: Avoid locale dependant isdigit()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit b94cf549e2)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer
2019-08-28 21:56:35 +02:00
parent f775712d67
commit 9940e9aa4e
+1 -1
View File
@@ -62,7 +62,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] != '}') {