aboutsummaryrefslogtreecommitdiffhomepage
path: root/stream
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-23 12:21:07 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-23 12:21:07 +0000
commit73dea88956982bde9257946545babc9dedc52bda (patch)
tree621d0395e022300b076233a4404df64e71a8b0df /stream
parent4e28b4bc9ed8e29daf3570596cc7a4c5325e8039 (diff)
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
Diffstat (limited to 'stream')
-rw-r--r--stream/stream.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/stream/stream.c b/stream/stream.c
index ed41b3e93a..819b04d9f6 100644
--- a/stream/stream.c
+++ b/stream/stream.c
@@ -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){