diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2001-11-18 22:58:30 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2001-11-18 22:58:30 +0000 |
commit | 6d75a9ef8bb92e3a4fcbe7770bb5564b9ffe467b (patch) | |
tree | 4e3bea3ac273c03ddf494923cf4aed279701d294 | |
parent | 980192980cd467034a91ece37112de7149046e79 (diff) | |
download | xine-lib-6d75a9ef8bb92e3a4fcbe7770bb5564b9ffe467b.tar.gz xine-lib-6d75a9ef8bb92e3a4fcbe7770bb5564b9ffe467b.tar.bz2 |
bugfix
CVS patchset: 1071
CVS date: 2001/11/18 22:58:30
-rw-r--r-- | src/libw32dll/w32codec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libw32dll/w32codec.c b/src/libw32dll/w32codec.c index c8e218d66..9d5cb6bdb 100644 --- a/src/libw32dll/w32codec.c +++ b/src/libw32dll/w32codec.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: w32codec.c,v 1.49 2001/11/18 13:44:53 miguelfreitas Exp $ + * $Id: w32codec.c,v 1.50 2001/11/18 22:58:30 miguelfreitas Exp $ * * routines for using w32 codecs * DirectShow support by Miguel Freitas (Nov/2001) @@ -1088,10 +1088,11 @@ static void w32a_close (audio_decoder_t *this_gen) { Restore_LDT_Keeper(this->ldt_fs); - if (!this->output_open) { + if (this->output_open) { this->audio_out->close (this->audio_out); this->output_open = 0; } + if( this->buf ) { free(this->buf); this->buf = NULL; |