From 009af7f16ccda1e6cd3110b9f2438792b2ca99a7 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Sun, 20 Oct 2002 23:54:20 +0000 Subject: important: call demuxer_stop from demuxer_dispose CVS patchset: 2893 CVS date: 2002/10/20 23:54:20 --- src/demuxers/demux_mpgaudio.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/demuxers/demux_mpgaudio.c') diff --git a/src/demuxers/demux_mpgaudio.c b/src/demuxers/demux_mpgaudio.c index ea3c25ad7..69c6ada14 100644 --- a/src/demuxers/demux_mpgaudio.c +++ b/src/demuxers/demux_mpgaudio.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: demux_mpgaudio.c,v 1.68 2002/10/20 21:15:07 guenter Exp $ + * $Id: demux_mpgaudio.c,v 1.69 2002/10/20 23:54:20 guenter Exp $ * * demultiplexer for mpeg audio (i.e. mp3) streams * @@ -333,7 +333,7 @@ static void *demux_mpgaudio_loop (void *this_gen) { /* main demuxer loop */ while(this->status == DEMUX_OK) { - + if (!demux_mpgaudio_next (this, 0)) this->status = DEMUX_FINISHED; @@ -546,6 +546,9 @@ static int demux_mpgaudio_seek (demux_plugin_t *this_gen, } static void demux_mpgaudio_dispose (demux_plugin_t *this) { + + demux_mpgaudio_stop (this); + free (this); } -- cgit v1.2.3