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/xine-engine/xine.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/xine-engine/xine.c')
-rw-r--r-- | src/xine-engine/xine.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index 5399dedbd..96f97d94c 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -554,7 +554,7 @@ static int stream_rewire_audio(xine_post_out_t *output, void *data) if (stream->audio_out->status(stream->audio_out, stream, &bits, &rate, &mode)) { /* register our stream at the new output port */ - new_port->open(new_port, stream, bits, rate, mode); + (new_port->open) (new_port, stream, bits, rate, mode); stream->audio_out->close(stream->audio_out, stream); } stream->audio_out = new_port; @@ -580,7 +580,7 @@ static int stream_rewire_video(xine_post_out_t *output, void *data) if (stream->video_out->status(stream->video_out, stream, &width, &height, &img_duration)) { /* register our stream at the new output port */ - new_port->open(new_port, stream); + (new_port->open) (new_port, stream); stream->video_out->close(stream->video_out, stream); } stream->video_out = new_port; @@ -868,7 +868,7 @@ static int open_internal (xine_stream_t *stream, const char *mrl) { _x_meta_info_set_utf8(stream, XINE_META_INFO_INPUT_PLUGIN, (stream->input_plugin->input_class->get_identifier (stream->input_plugin->input_class))); - res = stream->input_plugin->open(stream->input_plugin); + res = (stream->input_plugin->open) (stream->input_plugin); switch(res) { case 1: /* Open successfull */ free(input_source); |