diff options
author | Juergen Keil <jkeil@users.sourceforge.net> | 2003-03-11 17:40:30 +0000 |
---|---|---|
committer | Juergen Keil <jkeil@users.sourceforge.net> | 2003-03-11 17:40:30 +0000 |
commit | 2bebd6d41a30ab3f3fd6bff2910c61f388f26066 (patch) | |
tree | 8aa9f9a581a7550d30de78b47e470d884feca733 /src/post/visualizations/fftscope.c | |
parent | 03d298ebbcbc8a097bd5e800ce32c75dd4365569 (diff) | |
download | xine-lib-2bebd6d41a30ab3f3fd6bff2910c61f388f26066.tar.gz xine-lib-2bebd6d41a30ab3f3fd6bff2910c61f388f26066.tar.bz2 |
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
Diffstat (limited to 'src/post/visualizations/fftscope.c')
-rw-r--r-- | src/post/visualizations/fftscope.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |