Commit b94cf549 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/htmlsubtitles: Avoid locale dependant isdigit()

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 39ff027f
......@@ -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] != '}') {
......
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