Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
b9c9501a
Commit
b9c9501a
authored
Aug 04, 2013
by
Felix Paul Kühne
Browse files
patches: add HACK to prevent race conditional crash when destroying libvlc
parent
c8c4bef6
Changes
1
Hide whitespace changes
Inline
Side-by-side
patches/0015-HACK-src-work-around-crash-when-releasing-libvlc.patch
0 → 100644
View file @
b9c9501a
From 52ac6635fdb8231c49ce02dd7a3faff821220960 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
Date: Sun, 4 Aug 2013 19:50:42 +0200
Subject: [PATCH 15/15] HACK: src: work-around crash when releasing libvlc
---
src/config/keys.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/config/keys.c b/src/config/keys.c
index 7fcbc37..53f25a6 100644
--- a/src/config/keys.c
+++ b/src/config/keys.c
@@ -540,9 +540,10 @@
void vlc_DeinitActions (libvlc_int_t *libvlc, struct vlc_actions *as)
{
if (unlikely(as == NULL))
return;
-
+/*
var_DelCallback (libvlc, "global-key-pressed", vlc_key_to_action,
&as->global_map);
+ */
var_DelCallback (libvlc, "key-pressed", vlc_key_to_action, &as->map);
tdestroy (as->global_map, free);
--
1.8.3.1 (Apple Git-46)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment