[vlc-commits] input: remove useless cancellation preemption
Rémi Denis-Courmont
git at videolan.org
Sun Jun 28 22:30:10 CEST 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jun 28 23:17:03 2015 +0300| [3435684d81b9fd62afd08aede331a6826b24e60d] | committer: Rémi Denis-Courmont
input: remove useless cancellation preemption
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3435684d81b9fd62afd08aede331a6826b24e60d
---
src/input/input.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index 1260f2c..da88e50 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -511,7 +511,6 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
static void *Run( void *obj )
{
input_thread_t *p_input = (input_thread_t *)obj;
- const int canc = vlc_savecancel();
if( !Init( p_input ) )
{
@@ -522,8 +521,6 @@ static void *Run( void *obj )
}
input_SendEventDead( p_input );
-
- vlc_restorecancel( canc );
return NULL;
}
More information about the vlc-commits
mailing list