diff options
author | John Stebbins <[email protected]> | 2017-01-04 11:47:17 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2017-01-04 11:48:31 -0700 |
commit | 17ab380b65a4843e260300924fe95f7eff98e6ff (patch) | |
tree | c9a53d08e9babcbd5390915d918c7e401d7759d0 /libhb/decsrtsub.c | |
parent | 557a67c170c1c2c5ef275b9e91e5facc97ecaa39 (diff) |
decsrtsub: fix extra blank lines
This only happened with embedded UTF8 subtitles in mkv.
Diffstat (limited to 'libhb/decsrtsub.c')
-rw-r--r-- | libhb/decsrtsub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/decsrtsub.c b/libhb/decsrtsub.c index 8a843e5fe..6835e2e16 100644 --- a/libhb/decsrtsub.c +++ b/libhb/decsrtsub.c @@ -180,7 +180,7 @@ void hb_srt_to_ssa(hb_buffer_t *sub_in, int line) ssa = (char*)sub_in->data; if (srt[ii] == '\r') { - if (srt[ii] == '\n') + if (srt[ii + 1] == '\n') { ii++; } |