summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authoreddyg <[email protected]>2009-09-28 23:14:34 +0000
committereddyg <[email protected]>2009-09-28 23:14:34 +0000
commit14c4179e3f6e5f7bb0d3ad29a25d372d73fda001 (patch)
treeb2056d3013751a3f491710f87854dc629a445a7d /libhb
parenta59510a181d54edfe70c09c1ebf0a393c54a5904 (diff)
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
Diffstat (limited to 'libhb')
-rw-r--r--libhb/muxmp4.c4
1 files changed, 2 insertions, 2 deletions
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);