Commit 33d67e95 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: Fix libass \h char handling.

Conflicts:

	extras/contrib/src/Makefile
parent 4c3ae096
......@@ -2445,6 +2445,7 @@ libass-$(ASS_VERSION).tar.bz2:
libass: libass-$(ASS_VERSION).tar.bz2
$(EXTRACT_BZ2)
patch -p0 < Patches/libass_mplayer_updates.patch
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