Commit 4d36c0a3 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: Fix libass \h char handling.

parent e8ca58c1
......@@ -2444,6 +2444,7 @@ libass-$(ASS_VERSION).tar.bz2:
libass: libass-$(ASS_VERSION).tar.bz2
$(EXTRACT_BZ2)
cd $@; patch -p0 < ../Patches/libass-h-char-fix.patch
ifneq ($(HOST),$(BUILD))
patch -p0 < Patches/libass-cross.patch
cd $@; autoconf
......
Index: libass/ass_render.c
===================================================================
--- libass/ass_render.c (revision 15)
+++ libass/ass_render.c (working copy)
@@ -1071,7 +1071,7 @@
p += 2;
*str = p;
return '\n';
- } else if (*(p+1) == 'n') {
+ } else if ((*(p+1) == 'n') || (*(p+1) == 'h')) {
p += 2;
*str = p;
return ' ';
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment