diff options
author | Michael Niedermayer <[email protected]> | 2019-08-28 21:56:35 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2020-01-06 11:30:43 +0100 |
commit | ccad8e7175980ae71db11daf43b00f598930392b (patch) | |
tree | 8030285d21dda44d3d9241734b922baa1e266bf8 | |
parent | 81c2cf86468082485a34e27ace8290b6e9623b67 (diff) |
avcodec/htmlsubtitles: Avoid locale dependant isdigit()
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit b94cf549e2d9e456d77f8539baca0fffa805ba69)
Signed-off-by: Michael Niedermayer <[email protected]>
-rw-r--r-- | libavcodec/htmlsubtitles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/htmlsubtitles.c b/libavcodec/htmlsubtitles.c index d9221ba16b..8ce66e0b27 100644 --- 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] != '}') { |