summaryrefslogtreecommitdiff
path: root/src/libxineadec/xine_dts_decoder.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/libxineadec/xine_dts_decoder.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/libxineadec/xine_dts_decoder.c')
-rw-r--r--src/libxineadec/xine_dts_decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libxineadec/xine_dts_decoder.c b/src/libxineadec/xine_dts_decoder.c
index 000adaa85..b7b55c85c 100644
--- a/src/libxineadec/xine_dts_decoder.c
+++ b/src/libxineadec/xine_dts_decoder.c
@@ -147,7 +147,7 @@ static void dts_decode_frame (dts_decoder_t *this, const int64_t pts, const int
if(this->bypass_mode) {
/* SPDIF digital output */
if (!this->output_open) {
- 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, this->dts_sample_rate,
AO_CAP_MODE_AC5));
}
@@ -243,7 +243,7 @@ static void dts_decode_frame (dts_decoder_t *this, const int64_t pts, const int
output_mode = this->ao_flags_map[dts_output_flags & DTS_CHANNEL_MASK];
if (!this->output_open) {
- 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, this->dts_sample_rate,
output_mode);
}