summaryrefslogtreecommitdiff
path: root/src/audio_dec/xine_dts_decoder.c
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2011-10-01 18:45:02 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2011-10-01 18:45:02 +0100
commitd7c4d2bd622b1405ff520006dbeaf739e9725a89 (patch)
tree104f926890dbd24257e96741a5a065f1c64ec855 /src/audio_dec/xine_dts_decoder.c
parenta15f6b82252b5afb81486e6f0e9e10e5e2e5ece5 (diff)
parent8ba50d7512e71ce2fa441f8e738459df21cec2ae (diff)
downloadxine-lib-d7c4d2bd622b1405ff520006dbeaf739e9725a89.tar.gz
xine-lib-d7c4d2bd622b1405ff520006dbeaf739e9725a89.tar.bz2
Merge from 1.1.
--HG-- rename : src/libdts/xine_dts_decoder.c => src/audio_dec/xine_dts_decoder.c rename : src/libmusepack/xine_musepack_decoder.c => src/audio_dec/xine_musepack_decoder.c
Diffstat (limited to 'src/audio_dec/xine_dts_decoder.c')
-rw-r--r--src/audio_dec/xine_dts_decoder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio_dec/xine_dts_decoder.c b/src/audio_dec/xine_dts_decoder.c
index 2f4039696..ffacf4a94 100644
--- a/src/audio_dec/xine_dts_decoder.c
+++ b/src/audio_dec/xine_dts_decoder.c
@@ -136,7 +136,7 @@ static inline void mute_channel (int16_t *const s16, const int num_channels) {
s16[i] = 0;
}
-static void dts_decode_frame (dts_decoder_t *this, const int64_t pts, const int preview_mode) {
+static void dts_decode_frame (dts_decoder_t *this, const int64_t pts) {
audio_buffer_t *audio_buffer;
uint32_t ac5_spdif_type=0;
@@ -441,9 +441,9 @@ static void dts_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) {
case 3: /* Ready for decode */
#if 0
- dtsdec_decode_frame (this, this->pts_list[0], buf->decoder_flags & BUF_FLAG_PREVIEW);
+ dtsdec_decode_frame (this, this->pts_list[0]);
#else
- dts_decode_frame (this, this->pts, buf->decoder_flags & BUF_FLAG_PREVIEW);
+ dts_decode_frame (this, this->pts);
#endif
case 4: /* Clear up ready for next frame */
this->pts = 0;