mirror of https://github.com/mpv-player/mpv
Reindent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30395 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3fae575483
commit
9869be806b
|
@ -287,10 +287,10 @@ void cache_uninit(stream_t *s) {
|
||||||
cache_vars_t* c = s->cache_data;
|
cache_vars_t* c = s->cache_data;
|
||||||
if(s->cache_pid) {
|
if(s->cache_pid) {
|
||||||
#if defined(__MINGW32__) || defined(PTHREAD_CACHE) || defined(__OS2__)
|
#if defined(__MINGW32__) || defined(PTHREAD_CACHE) || defined(__OS2__)
|
||||||
cache_do_control(s, -2, NULL);
|
cache_do_control(s, -2, NULL);
|
||||||
#else
|
#else
|
||||||
kill(s->cache_pid,SIGKILL);
|
kill(s->cache_pid,SIGKILL);
|
||||||
waitpid(s->cache_pid,NULL,0);
|
waitpid(s->cache_pid,NULL,0);
|
||||||
#endif
|
#endif
|
||||||
s->cache_pid = 0;
|
s->cache_pid = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue