diff options
Diffstat (limited to 'sub')
-rw-r--r-- | sub/sd_srt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sub/sd_srt.c b/sub/sd_srt.c index 6258acde5b..31d2959e59 100644 --- a/sub/sd_srt.c +++ b/sub/sd_srt.c @@ -374,6 +374,8 @@ static void convert_subrip(const char *orig, char *dest, int dest_buffer_size) if (!found) { // Remove the leading '#' bstr_eatstart(&val, bstr0("#")); + // Sometimes there are two '#' + bstr_eatstart(&val, bstr0("#")); // Parse RRGGBB format tag->color = bstrtoll(val, &val, 16) & 0x00ffffff; |