aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklesh <niklesh.lalwani@iitb.ac.in>2015-07-17 16:03:09 +0530
committerPhilip Langdale <philipl@overt.org>2015-07-20 08:16:19 -0700
commita927aacbe605d5c298aa5b55fee01281edcdbf70 (patch)
tree4bbb95a718cc967b96a4a5ab3d99a686dae227f5
parent0030613d6925406bfef8e1b206bf9731f53c8ccc (diff)
downloadffmpeg-a927aacbe605d5c298aa5b55fee01281edcdbf70.tar.gz
movtextdec.c: Correct the highlight tags
Signed-off-by: Niklesh <niklesh.lalwani@iitb.ac.in>
-rw-r--r--libavcodec/movtextdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/movtextdec.c b/libavcodec/movtextdec.c
index d564cf1fc4..ca021079ef 100644
--- a/libavcodec/movtextdec.c
+++ b/libavcodec/movtextdec.c
@@ -181,14 +181,14 @@ static int text_to_ass(AVBPrint *buf, const char *text, const char *text_end,
av_bprintf(buf, "{\\2c&H%02x%02x%02x&}", m->c.hlit_color[2],
m->c.hlit_color[1], m->c.hlit_color[0]);
} else {
- av_bprintf(buf, "{\\1c&H000000&}{\\2c&HFFFFFF}");
+ av_bprintf(buf, "{\\1c&H000000&}{\\2c&HFFFFFF&}");
}
}
if (text_pos == m->h.hlit_end) {
if (m->box_flags & HCLR_BOX) {
- av_bprintf(buf, "{\\2c&H000000}");
+ av_bprintf(buf, "{\\2c&H000000&}");
} else {
- av_bprintf(buf, "{\\1c&HFFFFFF&}{\\2c&H000000}");
+ av_bprintf(buf, "{\\1c&HFFFFFF&}{\\2c&H000000&}");
}
}
}