mirror of
https://github.com/mpv-player/mpv
synced 2025-01-26 01:23:17 +00:00
Add an exit() to silence a gcc warning and ensure forked code will never
leave the cache-loop function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30397 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a2d8222f3d
commit
567a8d69a4
@ -406,6 +406,8 @@ static void ThreadProc( void *s ){
|
||||
#ifdef PTHREAD_CACHE
|
||||
return NULL;
|
||||
#endif
|
||||
// make sure forked code never leaves this function
|
||||
exit(0);
|
||||
}
|
||||
|
||||
int cache_stream_fill_buffer(stream_t *s){
|
||||
|
Loading…
Reference in New Issue
Block a user