From 2bebd6d41a30ab3f3fd6bff2910c61f388f26066 Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Tue, 11 Mar 2003 17:40:30 +0000 Subject: Several post plugins were crashing with a failed assertion, due to closing a bogus xine_video_port_t: xine-lib/src/xine-engine/audio_out.c:fifo_append_int:225: assertion `!buf->next' failed. Next audio buffer is not NULL. CVS patchset: 4395 CVS date: 2003/03/11 17:40:30 --- src/post/visualizations/fftscope.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/post/visualizations/fftscope.c') diff --git a/src/post/visualizations/fftscope.c b/src/post/visualizations/fftscope.c index 02be47ea2..6c1cb6901 100644 --- a/src/post/visualizations/fftscope.c +++ b/src/post/visualizations/fftscope.c @@ -22,7 +22,7 @@ * * FFT code by Steve Haehnichen, originally licensed under GPL v1 * - * $Id: fftscope.c,v 1.11 2003/02/22 14:21:37 mroi Exp $ + * $Id: fftscope.c,v 1.12 2003/03/11 17:40:31 jkeil Exp $ * */ @@ -610,7 +610,7 @@ static void fftscope_port_put_buffer (xine_audio_port_t *port_gen, static void fftscope_dispose(post_plugin_t *this_gen) { post_plugin_fftscope_t *this = (post_plugin_fftscope_t *)this_gen; - xine_post_out_t *output = (xine_post_out_t *)xine_list_first_content(this_gen->output); + xine_post_out_t *output = (xine_post_out_t *)xine_list_last_content(this_gen->output); xine_video_port_t *port = *(xine_video_port_t **)output->data; if (this->stream) -- cgit v1.2.3