Browse Source

avcodec/htmlsubtitles: Avoid locale dependant isdigit()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.3
Michael Niedermayer 6 years ago
parent
commit
b94cf549e2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/htmlsubtitles.c

+ 1
- 1
libavcodec/htmlsubtitles.c View File

@@ -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] != '}') {


Loading…
Cancel
Save