Commit 22b3452a authored by Rafaël Carré's avatar Rafaël Carré

Simplify c14c1b13

sched.h is already pulled by pthread.h
parent 6a081073
......@@ -29,11 +29,6 @@
#endif
#include <assert.h>
#ifdef __unix__
# include <sched.h>
#else
# define sched_yield() (void)0
#endif
#include <vlc_common.h>
#include <vlc_aout.h>
......@@ -338,7 +333,9 @@ int aout_DecPlay (audio_output_t *p_aout, block_t *p_buffer, int i_input_rate)
}
aout_unlock( p_aout );
#ifdef __unix__
sched_yield();
#endif
return 0;
}
......
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