From 1836f48c61b840841d77bd265468b8cdb4789f3a Mon Sep 17 00:00:00 2001 From: anders Date: Tue, 12 Mar 2002 06:32:02 +0000 Subject: [PATCH] Bugfix for sig11 when playing multiple files git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5051 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/ao_plugin.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libao2/ao_plugin.c b/libao2/ao_plugin.c index fb31636806..6610bdab17 100644 --- a/libao2/ao_plugin.c +++ b/libao2/ao_plugin.c @@ -186,8 +186,10 @@ static void uninit(){ plugin(i++)->uninit(); if(ao_plugin_local_data.plugins) free(ao_plugin_local_data.plugins); + ao_plugin_local_data.plugins=NULL; if(ao_plugin_local_data.buf) free(ao_plugin_local_data.buf); + ao_plugin_local_data.buf=NULL; } // stop playing and empty buffers (for seeking/pause)