diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-08-16 16:36:50 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-08-16 16:36:50 +0100 |
commit | 69bdc7c638fadb8cebd81431f6f5350ecb43e3db (patch) | |
tree | 78712ab2ecb0c6664956a59216ea7cd12c90a423 /src/post/visualizations/fooviz.c | |
parent | d3e91bb09c694dc8a71b77f098ab251755763410 (diff) | |
parent | 5bd10cf74df979e611d69db0d5563b9d0854f884 (diff) | |
download | xine-lib-69bdc7c638fadb8cebd81431f6f5350ecb43e3db.tar.gz xine-lib-69bdc7c638fadb8cebd81431f6f5350ecb43e3db.tar.bz2 |
Merge open()/glibc (debug #define) workaround from 1.1; fix up for 1.2 changes.
This does not touch code in contrib.
Diffstat (limited to 'src/post/visualizations/fooviz.c')
-rw-r--r-- | src/post/visualizations/fooviz.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/post/visualizations/fooviz.c b/src/post/visualizations/fooviz.c index 9e69fefab..02ebea7da 100644 --- a/src/post/visualizations/fooviz.c +++ b/src/post/visualizations/fooviz.c @@ -94,7 +94,7 @@ static int fooviz_rewire_video(xine_post_out_t *output_gen, void *data) return 0; /* register our stream at the new output port */ old_port->close(old_port, XINE_ANON_STREAM); - new_port->open(new_port, XINE_ANON_STREAM); + (new_port->open) (new_port, XINE_ANON_STREAM); /* reconnect ourselves */ this->vo_port = new_port; return 1; @@ -120,10 +120,10 @@ static int fooviz_port_open(xine_audio_port_t *port_gen, xine_stream_t *stream, this->data_idx = 0; this->sample_counter = 0; - this->vo_port->open(this->vo_port, XINE_ANON_STREAM); + (this->vo_port->open) (this->vo_port, XINE_ANON_STREAM); this->metronom->set_master(this->metronom, stream->metronom); - return port->original_port->open(port->original_port, stream, bits, rate, mode ); + return (port->original_port->open) (port->original_port, stream, bits, rate, mode ); } static void fooviz_port_close(xine_audio_port_t *port_gen, xine_stream_t *stream ) { |