summaryrefslogtreecommitdiff
path: root/src/libxineadec/pcm.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-11-15 13:01:00 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-11-15 13:01:00 +0000
commit570fd9006dcf6f9aaa460e79b93b7ce37f7c6d7b (patch)
treeed387d71185404d03367e64a52093b0e6369ed67 /src/libxineadec/pcm.c
parentbb62a769e4a50cef3023408bf9a527e63b7d884d (diff)
downloadxine-lib-570fd9006dcf6f9aaa460e79b93b7ce37f7c6d7b.tar.gz
xine-lib-570fd9006dcf6f9aaa460e79b93b7ce37f7c6d7b.tar.bz2
more helper functions cleanup (stream info, meta info)
CVS patchset: 5731 CVS date: 2003/11/15 13:01:00
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