mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2025-01-13 13:40:54 +00:00
parent
17a6779146
commit
d3543ff1a2
@ -659,7 +659,8 @@ char* ocr_bitmap(void* arg, png_color *palette,png_byte *alpha, unsigned char* i
|
||||
last_font_tag = font_tag;
|
||||
|
||||
}
|
||||
last_font_tag_end = strstr(last_font_tag, ">") + 1;
|
||||
last_font_tag_end = strstr(last_font_tag, ">");
|
||||
if(last_font_tag_end) last_font_tag_end += 1; // move string to the "right" if ">" was found, otherwise leave empty string (solves #1084)
|
||||
|
||||
// Copy the content of the subtitle
|
||||
memcpy(new_text_out_iter, line_start, line_end - line_start);
|
||||
|
Loading…
Reference in New Issue
Block a user