summaryrefslogtreecommitdiff
path: root/src/libxineadec/pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libxineadec/pcm.c')
-rw-r--r--src/libxineadec/pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libxineadec/pcm.c b/src/libxineadec/pcm.c
index 58b57bd57..122f6c855 100644
--- a/src/libxineadec/pcm.c
+++ b/src/libxineadec/pcm.c
@@ -74,7 +74,7 @@ static void pcm_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) {\
buf->decoder_flags, buf->decoder_info[1], buf->decoder_info[0]);
#endif
- if (this->stream->stream_info[XINE_STREAM_INFO_AUDIO_MODE] == 0) {
+ if (xine_get_stream_info(this->stream, XINE_STREAM_INFO_AUDIO_MODE) == 0) {
#ifdef LOG
printf(__FILE__ ": Someone changed the audio mode. Closing device\r");
#endif