Felix Paul Kühne 9 rokov pred
rodič
commit
14718f27cf

+ 2 - 2
MobileVLCKit/patches/0001-arm_neon-added-function-macro-to-handle-the-undersco.patch

@@ -1,7 +1,7 @@
-From b47ac179b55ebfea3101ac291ff3cb980c8bd663 Mon Sep 17 00:00:00 2001
+From 7be0a720745fb60e2793b55ad65923bffd665f8f Mon Sep 17 00:00:00 2001
 From: David Geldreich <david.geldreich@free.fr>
 Date: Fri, 20 Apr 2012 16:41:19 +0200
-Subject: [PATCH 01/14] arm_neon: added function macro to handle the underscore
+Subject: [PATCH 01/15] arm_neon: added function macro to handle the underscore
  prefix for the iOS ARM ABI
 
 ---

+ 2 - 2
MobileVLCKit/patches/0002-deinterlace-merge-use-a-macro-to-fix-compilation-for.patch

@@ -1,7 +1,7 @@
-From a67fa298de4471d6490a7d1c2dbde481b38560d1 Mon Sep 17 00:00:00 2001
+From 3a7c392b1985d6d26a373292fcd604bf5617dc3b Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Fri, 10 Aug 2012 16:02:07 +0200
-Subject: [PATCH 02/14] deinterlace/merge: use a macro to fix compilation for
+Subject: [PATCH 02/15] deinterlace/merge: use a macro to fix compilation for
  iOS
 
 ---

+ 3 - 3
MobileVLCKit/patches/0003-libass-fix-text-rendering-on-iOS-by-providing-a-font.patch

@@ -1,7 +1,7 @@
-From 2832892893d2124a1559d6be538f4c3c948de922 Mon Sep 17 00:00:00 2001
+From 3d5e4936b3f320f2fb4c7612b2d67e2085435a5c Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Wed, 29 May 2013 13:25:54 +0200
-Subject: [PATCH 03/14] libass: fix text rendering on iOS by providing a font
+Subject: [PATCH 03/15] libass: fix text rendering on iOS by providing a font
  lookup mechanism for the font shipped with Aspen
 
 ---
@@ -9,7 +9,7 @@ Subject: [PATCH 03/14] libass: fix text rendering on iOS by providing a font
  1 file changed, 38 insertions(+)
 
 diff --git a/modules/codec/libass.c b/modules/codec/libass.c
-index 5cd48bc..40f45ac 100644
+index 3d08717..7d90c1c 100644
 --- a/modules/codec/libass.c
 +++ b/modules/codec/libass.c
 @@ -29,6 +29,13 @@

+ 4 - 4
MobileVLCKit/patches/0005-lib-media-player-inherit-deinterlace-variable-to-ach.patch

@@ -1,7 +1,7 @@
-From 9ff2994e5399414687b2bea3717b5d7cce3d285f Mon Sep 17 00:00:00 2001
+From e34c3010e2c869b278f92ed4d025091bec525fb5 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Tue, 9 Dec 2014 22:14:55 +0100
-Subject: [PATCH 05/14] lib/media player: inherit deinterlace variable to
+Subject: [PATCH 04/15] lib/media player: inherit deinterlace variable to
  achieve correct value on first use
 
 ---
@@ -9,10 +9,10 @@ Subject: [PATCH 05/14] lib/media player: inherit deinterlace variable to
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/lib/media_player.c b/lib/media_player.c
-index 2136ab8..fc5a82f 100644
+index d862926..eabbbf6 100644
 --- a/lib/media_player.c
 +++ b/lib/media_player.c
-@@ -595,7 +595,7 @@ libvlc_media_player_new( libvlc_instance_t *instance )
+@@ -598,7 +598,7 @@ libvlc_media_player_new( libvlc_instance_t *instance )
      var_Create (mp, "zoom", VLC_VAR_FLOAT | VLC_VAR_DOINHERIT);
      var_Create (mp, "aspect-ratio", VLC_VAR_STRING);
      var_Create (mp, "crop", VLC_VAR_STRING);

+ 2 - 2
MobileVLCKit/patches/0006-arm_neon-work-around-libtool-issue.patch

@@ -1,7 +1,7 @@
-From af4ed742f7c2084f0b78647bbbd7442e391182f1 Mon Sep 17 00:00:00 2001
+From 41faa65a053c8e4edf822e89707215a922f884e9 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Thu, 18 Dec 2014 22:14:55 +0100
-Subject: [PATCH 06/14] arm_neon: work-around libtool issue
+Subject: [PATCH 05/15] arm_neon: work-around libtool issue
 
 ---
  modules/arm_neon/Makefile.am | 2 ++

+ 4 - 4
MobileVLCKit/patches/0007-libvlc-media-re-parse-if-flags-changed.patch

@@ -1,7 +1,7 @@
-From f83d7ed601d02bfe25afbe591473ec072df157aa Mon Sep 17 00:00:00 2001
+From 1a2669a6d8a571180bd282edf9799db97c6c6e6b Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Fri, 19 Dec 2014 22:14:55 +0100
-Subject: [PATCH 07/14] libvlc/media: re-parse if flags changed
+Subject: [PATCH 06/15] libvlc/media: re-parse if flags changed
 
 ---
  lib/media.c          | 6 ++++++
@@ -9,10 +9,10 @@ Subject: [PATCH 07/14] libvlc/media: re-parse if flags changed
  2 files changed, 7 insertions(+)
 
 diff --git a/lib/media.c b/lib/media.c
-index 3b717c7..1b1c033 100644
+index 8919093..fc55b76 100644
 --- a/lib/media.c
 +++ b/lib/media.c
-@@ -716,6 +716,12 @@ static int media_parse(libvlc_media_t *media, bool b_async,
+@@ -718,6 +718,12 @@ static int media_parse(libvlc_media_t *media, bool b_async,
      vlc_mutex_lock(&media->parsed_lock);
      needed = !media->has_asked_preparse;
      media->has_asked_preparse = true;

+ 3 - 3
MobileVLCKit/patches/0009-arm_neon-fix-iOS-linking.patch

@@ -1,7 +1,7 @@
-From 51bb789836a81edff3b4f2a9dcc77dd621fc29f2 Mon Sep 17 00:00:00 2001
+From 95a3cd27f8b8b4a85f5029179af8b9dee81550bb Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
-Date: Mon, 10 Mar 2014 17:54:01 +0200
-Subject: [PATCH 09/14] arm_neon: fix iOS linking
+Date: Wed, 10 Dec 2014 22:14:55 +0100
+Subject: [PATCH 07/15] arm_neon: fix iOS linking
 
 ---
  modules/arm_neon/amplify.S              |  7 ++---

+ 3 - 3
MobileVLCKit/patches/0010-disable-neon-volume-plugin.patch

@@ -1,7 +1,7 @@
-From 25d2cd4c8d4074c53de8a843f33802ff9bafd67b Mon Sep 17 00:00:00 2001
+From 64d9a789aadc9768670ecf197b9416068b685c5f Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
-Date: Mon, 10 Mar 2014 17:54:01 +0200
-Subject: [PATCH 10/14] disable neon volume plugin
+Date: Wed, 10 Dec 2014 22:14:55 +0100
+Subject: [PATCH 08/15] disable neon volume plugin
 
 ---
  modules/arm_neon/Makefile.am | 1 -

+ 2 - 2
MobileVLCKit/patches/0011-contrib-gcrypt-work-around-a-libtool-limitation.patch

@@ -1,7 +1,7 @@
-From 62d9bc8078db9b97a335ed838d540d164f690e07 Mon Sep 17 00:00:00 2001
+From 852b8943afd10341f0c09e226646b0d326713d4d Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Sun, 7 Dec 2014 20:02:18 +0100
-Subject: [PATCH 11/14] contrib/gcrypt: work-around a libtool limitation
+Subject: [PATCH 09/15] contrib/gcrypt: work-around a libtool limitation
 
 ---
  contrib/src/gcrypt/rules.mak                       |  1 +

+ 2 - 2
MobileVLCKit/patches/0012-src-misc-fix-compilation-for-OS-without-fork.patch

@@ -1,7 +1,7 @@
-From e68fc29a7335edd9948171bd55a84a459bdb7e50 Mon Sep 17 00:00:00 2001
+From ff89b1e0b36faa399170873b8a3c433494cbf9c8 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Thu, 10 Sep 2015 19:58:40 +0200
-Subject: [PATCH 12/14] src/misc: fix compilation for OS without fork()
+Subject: [PATCH 10/15] src/misc: fix compilation for OS without fork()
 
 ---
  src/misc/cpu.c | 2 +-

+ 2 - 2
MobileVLCKit/patches/0013-libvlc-hack-to-disable-daemon-mode.patch

@@ -1,7 +1,7 @@
-From 8dbcb912c9c4a2012f546f596cf4f62b3ff01ba8 Mon Sep 17 00:00:00 2001
+From 14e3989ed175f9084e05d9366602b0f5086d586a Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Fri, 11 Sep 2015 18:34:26 +0200
-Subject: [PATCH 13/14] libvlc: hack to disable daemon mode
+Subject: [PATCH 11/15] libvlc: hack to disable daemon mode
 
 ---
  src/libvlc.c | 4 ++++

+ 2 - 2
MobileVLCKit/patches/0014-contrib-gcrypt-fix-tvOS-compilation.patch

@@ -1,7 +1,7 @@
-From a97ba7e78370b7130299773761b6b218c5a6291c Mon Sep 17 00:00:00 2001
+From 82810ec4ab272cae214d52d792a4f1b97d736bcf Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Sat, 3 Oct 2015 22:45:14 +0200
-Subject: [PATCH 14/14] contrib/gcrypt: fix tvOS compilation
+Subject: [PATCH 12/15] contrib/gcrypt: fix tvOS compilation
 
 ---
  contrib/src/gcrypt/fix-sha1-ssse3-for-clang.patch | 16 ++++++++++++++++

+ 30 - 32
MobileVLCKit/patches/0004-freetype-added-a-fake-font-lookup-mechanism-for-iOS-.patch

@@ -1,43 +1,30 @@
-From 0f9caf58c96ae4027eb0fcb395ccaab7f212dbf4 Mon Sep 17 00:00:00 2001
+From 8b0ea8e7576fbecea238bffafa3798f86c1be9ba Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Wed, 22 Jan 2014 13:55:16 +0100
-Subject: [PATCH 04/14] freetype: added a fake font lookup mechanism for iOS to
+Subject: [PATCH 13/15] freetype: added a fake font lookup mechanism for iOS to
  use the packaged demo fonts
 
 ---
+ modules/text_renderer/fonts/darwin.c   | 40 ++++++++++++++++++++++++++++++++++
  modules/text_renderer/freetype.c       |  2 ++
- modules/text_renderer/platform_fonts.c | 40 ++++++++++++++++++++++++++++++++++
  modules/text_renderer/platform_fonts.h |  3 +++
  3 files changed, 45 insertions(+)
 
-diff --git a/modules/text_renderer/freetype.c b/modules/text_renderer/freetype.c
-index f55e23a..bc508c6 100644
---- a/modules/text_renderer/freetype.c
-+++ b/modules/text_renderer/freetype.c
-@@ -1206,6 +1206,8 @@ static int Create( vlc_object_t *p_this )
- #elif defined( __APPLE__ )
- #if !TARGET_OS_IPHONE
-     p_sys->pf_select = MacLegacy_Select;
-+#else
-+    p_sys->pf_select = iOSFake_Select;
- #endif
- #elif defined( _WIN32 ) && defined( HAVE_GET_FONT_BY_FAMILY_NAME )
-     p_sys->pf_select = Win32_Select;
-diff --git a/modules/text_renderer/platform_fonts.c b/modules/text_renderer/platform_fonts.c
-index 7869dba..deeaa7d 100644
---- a/modules/text_renderer/platform_fonts.c
-+++ b/modules/text_renderer/platform_fonts.c
-@@ -42,6 +42,9 @@
+diff --git a/modules/text_renderer/fonts/darwin.c b/modules/text_renderer/fonts/darwin.c
+index 26fb339..71061c6 100644
+--- a/modules/text_renderer/fonts/darwin.c
++++ b/modules/text_renderer/fonts/darwin.c
+@@ -40,6 +40,9 @@
  #include <TargetConditionals.h>
  #if !TARGET_OS_IPHONE
- #include <Carbon/Carbon.h>
+ # include <Carbon/Carbon.h>
 +#else
 +#include <CoreFoundation/CoreFoundation.h>
 +#include <vlc_url.h>
  #endif
  #include <sys/param.h>                         /* for MAXPATHLEN */
- #undef HAVE_FONTCONFIG
-@@ -405,6 +408,43 @@ char* MacLegacy_Select( filter_t *p_filter, const char* psz_fontname,
+ 
+@@ -125,4 +128,41 @@ char* MacLegacy_Select( filter_t *p_filter, const char* psz_fontname,
  
      return psz_path;
  }
@@ -53,7 +40,7 @@ index 7869dba..deeaa7d 100644
 +    VLC_UNUSED(i_idx);
 +
 +    CFURLRef fileURL;
-+    fileURL = CFBundleCopyResourceURL(CFBundleGetMainBundle(),
++    fileURL = CFBundleCopyResourceURL(CFBundleGetMainBundle(), 
 +                                      CFSTR("OpenSans-Regular.ttf"),
 +                                      NULL,
 +                                      NULL);
@@ -79,21 +66,32 @@ index 7869dba..deeaa7d 100644
 +    return psz_path;
 +}
  #endif
+diff --git a/modules/text_renderer/freetype.c b/modules/text_renderer/freetype.c
+index 057447d..ff87929 100644
+--- a/modules/text_renderer/freetype.c
++++ b/modules/text_renderer/freetype.c
+@@ -1265,6 +1265,8 @@ static int Create( vlc_object_t *p_this )
+ #elif defined( __APPLE__ )
+ #if !TARGET_OS_IPHONE
+     p_sys->pf_select = MacLegacy_Select;
++#else
++    p_sys->pf_select = iOSFake_Select;
  #endif
- 
+ #elif defined( _WIN32 ) && defined( HAVE_GET_FONT_BY_FAMILY_NAME )
+     const char *const ppsz_win32_default[] =
 diff --git a/modules/text_renderer/platform_fonts.h b/modules/text_renderer/platform_fonts.h
-index cff52b1..40b25fb 100644
+index abf76c7..67902bf 100644
 --- a/modules/text_renderer/platform_fonts.h
 +++ b/modules/text_renderer/platform_fonts.h
-@@ -95,6 +95,9 @@ char* Win32_Select( filter_t *p_filter, const char* family,
- #if !TARGET_OS_IPHONE
+@@ -155,6 +155,9 @@ const vlc_family_t *Win32_GetFamily( filter_t *p_filter, const char *psz_family
  char* MacLegacy_Select( filter_t *p_filter, const char* psz_fontname,
-                           bool b_bold, bool b_italic, int i_size, int *i_idx );
+                         bool b_bold, bool b_italic,
+                         int *i_idx, uni_char_t codepoint );
 +#else
 +char *iOSFake_Select( filter_t *p_filter, const char* psz_fontname,
-+                          bool b_bold, bool b_italic, int i_size, int *i_idx );
- #endif
++                      bool b_bold, bool b_italic, int i_size, int *i_idx );
  #endif
+ #endif /* __APPLE__ */
  
 -- 
 2.6.0

+ 11 - 11
MobileVLCKit/patches/0008-libvlc-add-preliminary-code-path-to-modify-quartztex.patch

@@ -1,7 +1,7 @@
-From 862c7965ff53e8e99554965dfc03cbe445092f88 Mon Sep 17 00:00:00 2001
+From fea7a06ea8469259d53a7d31bb0dea2773cf9330 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
 Date: Mon, 31 Mar 2014 17:54:01 +0200
-Subject: [PATCH 08/14] libvlc: add preliminary code path to modify quartztext
+Subject: [PATCH 14/15] libvlc: add preliminary code path to modify quartztext
  variables on-the-fly
 
 ---
@@ -13,10 +13,10 @@ Subject: [PATCH 08/14] libvlc: add preliminary code path to modify quartztext
  5 files changed, 128 insertions(+), 6 deletions(-)
 
 diff --git a/include/vlc/libvlc_media_player.h b/include/vlc/libvlc_media_player.h
-index 0c7351b..b0b4208 100644
+index 6614340..9c17963 100644
 --- a/include/vlc/libvlc_media_player.h
 +++ b/include/vlc/libvlc_media_player.h
-@@ -1495,6 +1495,27 @@ LIBVLC_API float libvlc_video_get_adjust_float( libvlc_media_player_t *p_mi,
+@@ -1515,6 +1515,27 @@ LIBVLC_API float libvlc_video_get_adjust_float( libvlc_media_player_t *p_mi,
  LIBVLC_API void libvlc_video_set_adjust_float( libvlc_media_player_t *p_mi,
                                                     unsigned option, float value );
  
@@ -45,10 +45,10 @@ index 0c7351b..b0b4208 100644
  
  /** \defgroup libvlc_audio LibVLC audio controls
 diff --git a/lib/libvlc.sym b/lib/libvlc.sym
-index e7527bd..2f18a00 100644
+index 49207db..9ef430e 100644
 --- a/lib/libvlc.sym
 +++ b/lib/libvlc.sym
-@@ -228,6 +228,8 @@ libvlc_video_get_spu_count
+@@ -229,6 +229,8 @@ libvlc_video_get_spu_count
  libvlc_video_get_spu_delay
  libvlc_video_get_spu_description
  libvlc_video_get_teletext
@@ -57,7 +57,7 @@ index e7527bd..2f18a00 100644
  libvlc_video_get_title_description
  libvlc_video_get_track
  libvlc_video_get_track_count
-@@ -252,6 +254,8 @@ libvlc_video_set_spu
+@@ -253,6 +255,8 @@ libvlc_video_set_spu
  libvlc_video_set_spu_delay
  libvlc_video_set_subtitle_file
  libvlc_video_set_teletext
@@ -67,10 +67,10 @@ index e7527bd..2f18a00 100644
  libvlc_video_take_snapshot
  libvlc_vlm_add_broadcast
 diff --git a/lib/media_player.c b/lib/media_player.c
-index fc5a82f..b9e8f42 100644
+index eabbbf6..880bbe0 100644
 --- a/lib/media_player.c
 +++ b/lib/media_player.c
-@@ -625,6 +625,12 @@ libvlc_media_player_new( libvlc_instance_t *instance )
+@@ -628,6 +628,12 @@ libvlc_media_player_new( libvlc_instance_t *instance )
      var_Create (mp, "saturation", VLC_VAR_FLOAT | VLC_VAR_DOINHERIT);
      var_Create (mp, "gamma", VLC_VAR_FLOAT | VLC_VAR_DOINHERIT);
  
@@ -139,7 +139,7 @@ index b2c9b34..588aa1d 100644
 +    return get_string( p_mi, "quartztext", textrenderer_option_bynumber(option) );
 +}
 diff --git a/modules/text_renderer/quartztext.c b/modules/text_renderer/quartztext.c
-index 8142155..1d05dcd 100644
+index 5e2cefe..ac0894e 100644
 --- a/modules/text_renderer/quartztext.c
 +++ b/modules/text_renderer/quartztext.c
 @@ -67,6 +67,10 @@
@@ -225,7 +225,7 @@ index 8142155..1d05dcd 100644
 +
  #ifndef TARGET_OS_IPHONE
      if (p_sys->p_fonts) {
-         for (int k = 0; k < p_sys->i_fonts; k++) {
+         for (int k = 0; k < p_sys->i_fonts; k++)
 @@ -635,12 +659,12 @@ static int GetFontSize(filter_t *p_filter)
  {
      int i_size = 0;

+ 69 - 0
MobileVLCKit/patches/0015-src-fix-pointers-being-freed-that-were-not-allocated.patch

@@ -0,0 +1,69 @@
+From d275eb2a03a9d7c3237d72f2a7b246ec12d0143e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
+Date: Mon, 26 Oct 2015 12:03:01 +0100
+Subject: [PATCH 15/15] src: fix pointers being freed that were not allocated
+
+---
+ modules/text_renderer/quartztext.c | 11 ++++-------
+ src/misc/text_style.c              |  4 ++--
+ 2 files changed, 6 insertions(+), 9 deletions(-)
+
+diff --git a/modules/text_renderer/quartztext.c b/modules/text_renderer/quartztext.c
+index ac0894e..c93d0b0 100644
+--- a/modules/text_renderer/quartztext.c
++++ b/modules/text_renderer/quartztext.c
+@@ -254,7 +254,7 @@ static int Create(vlc_object_t *p_this)
+ #endif
+ 
+     vlc_mutex_init( &p_sys->lock );
+-    var_AddCallback( p_filter, "quartztext-font", QuartztextCallback, p_sys );
++//    var_AddCallback( p_filter, "quartztext-font", QuartztextCallback, p_sys );
+     var_AddCallback( p_filter, "quartztext-fontsize", QuartztextCallback, p_sys );
+     var_AddCallback( p_filter, "quartztext-color", QuartztextCallback, p_sys );
+ 
+@@ -273,15 +273,13 @@ static void Destroy(vlc_object_t *p_this)
+     filter_t *p_filter = (filter_t *)p_this;
+     filter_sys_t *p_sys = p_filter->p_sys;
+ 
+-    var_DelCallback( p_filter, "quartztext-font", QuartztextCallback, p_sys );
++    text_style_Delete( p_sys->p_default_style );
++
++//    var_DelCallback( p_filter, "quartztext-font", QuartztextCallback, p_sys );
+     var_DelCallback( p_filter, "quartztext-fontsize", QuartztextCallback, p_sys );
+     var_DelCallback( p_filter, "quartztext-color", QuartztextCallback, p_sys );
+     vlc_mutex_destroy( &p_sys->lock );
+ 
+-    var_Destroy( p_filter, "quartztext-font" ) ;
+-    var_Destroy( p_filter, "quartztext-fontsize" );
+-    var_Destroy( p_filter, "quartztext-color" );
+-
+ #ifndef TARGET_OS_IPHONE
+     if (p_sys->p_fonts) {
+         for (int k = 0; k < p_sys->i_fonts; k++)
+@@ -290,7 +288,6 @@ static void Destroy(vlc_object_t *p_this)
+         free(p_sys->p_fonts);
+     }
+ #endif
+-    text_style_Delete( p_sys->p_default_style );
+     free(p_sys);
+ }
+ 
+diff --git a/src/misc/text_style.c b/src/misc/text_style.c
+index 76ab4a9..215f70d 100644
+--- a/src/misc/text_style.c
++++ b/src/misc/text_style.c
+@@ -147,9 +147,9 @@ text_style_t *text_style_Duplicate( const text_style_t *p_src )
+ 
+ void text_style_Delete( text_style_t *p_style )
+ {
+-    if( p_style )
++    if( p_style->psz_fontname != NULL )
+         free( p_style->psz_fontname );
+-    if( p_style )
++    if( p_style->psz_monofontname != NULL )
+         free( p_style->psz_monofontname );
+     free( p_style );
+ }
+-- 
+2.6.0
+

+ 1 - 1
buildMobileVLCKit.sh

@@ -16,7 +16,7 @@ SKIPLIBVLCCOMPILATION=no
 SCARY=yes
 TVOS=no
 
-TESTEDHASH=601832ac
+TESTEDHASH=5dafc001
 
 usage()
 {