diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-04-24 08:12:13 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-04-24 08:12:13 +0000 |
commit | 0600c264865c733f7886a7b383136d93b67bd001 (patch) | |
tree | 424c4ee618c4dceb380fa68c0f48e9a78eb78d9c /src/input/input_rtp.c | |
parent | e8c93852874ac49ca737b4e7ba1fb0d9c2011008 (diff) | |
download | xine-lib-0600c264865c733f7886a7b383136d93b67bd001.tar.gz xine-lib-0600c264865c733f7886a7b383136d93b67bd001.tar.bz2 |
Fix dispose *_dispose() function prototype. Fix in rtp_dispose() a bad
assignement (may segfault).
CVS patchset: 1772
CVS date: 2002/04/24 08:12:13
Diffstat (limited to 'src/input/input_rtp.c')
-rw-r--r-- | src/input/input_rtp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/input/input_rtp.c b/src/input/input_rtp.c index 0501ba3bb..114d35e61 100644 --- a/src/input/input_rtp.c +++ b/src/input/input_rtp.c @@ -476,15 +476,14 @@ static int rtp_plugin_get_optional_data (input_plugin_t *this_gen, return INPUT_OPTIONAL_UNSUPPORTED; } -static int rtp_plugin_dispose (input_plugin_t *this_gen ) { +static void rtp_plugin_dispose (input_plugin_t *this_gen ) { rtp_input_plugin_t *this = (rtp_input_plugin_t *) this_gen; input_buffer_t *buf; if (this->fifo_tail.next) { while (this->fifo_tail.next != &this->fifo_tail) { - buf = this->fifo_tail.next->buf; + buf = this->fifo_tail.next; this->fifo_tail.next = this->fifo_tail.next->next; - free (buf->buf); free (buf); } |