From 99b55c92d88bac9e6f5e9072e1f7a34aa37b5f1d Mon Sep 17 00:00:00 2001 From: Andreas Heinchen Date: Mon, 12 May 2003 19:44:35 +0000 Subject: bugfix: audiolanguage of nonvorbis streams where ignored CVS patchset: 4836 CVS date: 2003/05/12 19:44:35 --- src/demuxers/demux_ogg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/demuxers/demux_ogg.c b/src/demuxers/demux_ogg.c index 5f2a6acf4..a3cb38060 100644 --- a/src/demuxers/demux_ogg.c +++ b/src/demuxers/demux_ogg.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_ogg.c,v 1.99 2003/05/12 19:37:49 heinchen Exp $ + * $Id: demux_ogg.c,v 1.100 2003/05/12 19:44:35 heinchen Exp $ * * demultiplexer for ogg streams * @@ -1416,7 +1416,7 @@ static int demux_ogg_get_optional_data(demux_plugin_t *this_gen, return DEMUX_OPTIONAL_SUCCESS; } else if ((channel>=0) && (channelnum_streams)) { for (stream_num=0; stream_numnum_streams; stream_num++) { - if (this->buf_types[stream_num]==BUF_AUDIO_VORBIS+channel) { + if ((this->buf_types[stream_num]&0xFF00001F)==BUF_AUDIO_BASE+channel) { if (this->language[stream_num]) { sprintf(str, "%s", this->language[stream_num]); return DEMUX_OPTIONAL_SUCCESS; -- cgit v1.2.3