summaryrefslogtreecommitdiff
path: root/src/libw32dll/w32codec.c
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2007-08-16 16:36:50 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2007-08-16 16:36:50 +0100
commit69bdc7c638fadb8cebd81431f6f5350ecb43e3db (patch)
tree78712ab2ecb0c6664956a59216ea7cd12c90a423 /src/libw32dll/w32codec.c
parentd3e91bb09c694dc8a71b77f098ab251755763410 (diff)
parent5bd10cf74df979e611d69db0d5563b9d0854f884 (diff)
downloadxine-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/libw32dll/w32codec.c')
-rw-r--r--src/libw32dll/w32codec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libw32dll/w32codec.c b/src/libw32dll/w32codec.c
index 99509372e..02cad2d1f 100644
--- a/src/libw32dll/w32codec.c
+++ b/src/libw32dll/w32codec.c
@@ -657,7 +657,7 @@ static void w32v_init_codec (w32v_decoder_t *this, int buf_type) {
this->bufsize = VIDEOBUFSIZE;
this->buf = malloc(this->bufsize);
- this->stream->video_out->open (this->stream->video_out, this->stream);
+ (this->stream->video_out->open) (this->stream->video_out, this->stream);
this->outfmt = outfmt;
this->decoder_ok = 1;
@@ -752,7 +752,7 @@ static void w32v_init_ds_dmo_codec (w32v_decoder_t *this, int buf_type) {
this->bufsize = VIDEOBUFSIZE;
this->buf = malloc(this->bufsize);
- this->stream->video_out->open (this->stream->video_out, this->stream);
+ (this->stream->video_out->open) (this->stream->video_out, this->stream);
this->outfmt = outfmt;
this->decoder_ok = 1;
@@ -1181,7 +1181,7 @@ static int w32a_init_audio (w32a_decoder_t *this,
if (this->output_open)
this->stream->audio_out->close (this->stream->audio_out, this->stream);
- this->output_open = this->stream->audio_out->open( this->stream->audio_out, this->stream,
+ this->output_open = (this->stream->audio_out->open) ( this->stream->audio_out, this->stream,
16, in_fmt->nSamplesPerSec,
_x_ao_channels2mode(in_fmt->nChannels));
if (!this->output_open) {