diff options
author | Mike Melanson <mike@multimedia.cx> | 2002-06-03 00:57:34 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2002-06-03 00:57:34 +0000 |
commit | c3f5197fcf1621c64320375d4a1e1c9731f02a63 (patch) | |
tree | 9bcf0158b0d536bf5a3590e2b1af7793d1fc7659 | |
parent | f802c92b415b33e6bcbc365b91f990f54aaf1829 (diff) | |
download | xine-lib-c3f5197fcf1621c64320375d4a1e1c9731f02a63.tar.gz xine-lib-c3f5197fcf1621c64320375d4a1e1c9731f02a63.tar.bz2 |
implemented the decoder's _close() function
CVS patchset: 1989
CVS date: 2002/06/03 00:57:34
-rw-r--r-- | src/libxineadec/roqaudio.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libxineadec/roqaudio.c b/src/libxineadec/roqaudio.c index 8aaadf919..80c7869c6 100644 --- a/src/libxineadec/roqaudio.c +++ b/src/libxineadec/roqaudio.c @@ -21,7 +21,7 @@ * For more information regarding the RoQ file format, visit: * http://www.csse.monash.edu.au/~timf/ * - * $Id: roqaudio.c,v 1.1 2002/05/28 00:16:23 tmmm Exp $ + * $Id: roqaudio.c,v 1.2 2002/06/03 00:57:34 tmmm Exp $ * */ @@ -171,6 +171,11 @@ static void roqaudio_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) } static void roqaudio_close (audio_decoder_t *this_gen) { + roqaudio_decoder_t *this = (roqaudio_decoder_t *) this_gen; + + if (this->output_open) + this->audio_out->close (this->audio_out); + this->output_open = 0; } static char *roqaudio_get_id(void) { |