mirror of https://github.com/mpv-player/mpv
Call cache-uninit unconditionally, it should always be safe to call.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30403 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4e28b4bc9e
commit
73dea88956
|
@ -433,9 +433,7 @@ stream_t* new_stream(int fd,int type){
|
|||
void free_stream(stream_t *s){
|
||||
// printf("\n*** free_stream() called ***\n");
|
||||
#ifdef CONFIG_STREAM_CACHE
|
||||
if(s->cache_pid) {
|
||||
cache_uninit(s);
|
||||
}
|
||||
#endif
|
||||
if(s->close) s->close(s);
|
||||
if(s->fd>0){
|
||||
|
|
Loading…
Reference in New Issue