From 14c4179e3f6e5f7bb0d3ad29a25d372d73fda001 Mon Sep 17 00:00:00 2001 From: eddyg Date: Mon, 28 Sep 2009 23:14:34 +0000 Subject: Remove tx3g -1 bias for bold and underline, was part of testing, thanks to Rodeo. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2848 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/muxmp4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libhb') diff --git a/libhb/muxmp4.c b/libhb/muxmp4.c index 7ab95bdcb..0ee3debc1 100644 --- a/libhb/muxmp4.c +++ b/libhb/muxmp4.c @@ -698,7 +698,7 @@ static void hb_muxmp4_process_subtitle_style( uint8_t *input, if (*(reader+3) == '>') { if (stylestack && stylestack->style == BOLD) { uint8_t style_record[12]; - stylestack->stop = writer - output - utf8_count - 1; + stylestack->stop = writer - output - utf8_count; hb_makestyleatom(stylestack, style_record); memcpy(style + 10 + (12 * stylecount), style_record, 12); @@ -719,7 +719,7 @@ static void hb_muxmp4_process_subtitle_style( uint8_t *input, if (*(reader+3) == '>') { if (stylestack && stylestack->style == UNDERLINE) { uint8_t style_record[12]; - stylestack->stop = writer - output - utf8_count - 1; + stylestack->stop = writer - output - utf8_count; hb_makestyleatom(stylestack, style_record); memcpy(style + 10 + (12 * stylecount), style_record, 12); -- cgit v1.2.3