From bc6aa87a5fdc3e868e802e0489d0e2061ed3f9af Mon Sep 17 00:00:00 2001 From: Ewald Snel Date: Fri, 27 Dec 2002 22:54:44 +0000 Subject: This should be more compatible with spu decoder plugins CVS patchset: 3701 CVS date: 2002/12/27 22:54:44 --- src/xine-engine/video_decoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xine-engine/video_decoder.c') diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c index f29949930..f94ee4ff8 100644 --- a/src/xine-engine/video_decoder.c +++ b/src/xine-engine/video_decoder.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: video_decoder.c,v 1.118 2002/12/27 22:49:38 esnel Exp $ + * $Id: video_decoder.c,v 1.119 2002/12/27 22:54:44 esnel Exp $ * */ @@ -315,7 +315,7 @@ void *video_decoder_loop (void *stream_gen) { if (stream->spu_channel_user >= 0) { if (stream->spu_channel_user <= stream->spu_track_map_entries) - stream->spu_channel = stream->spu_track_map[stream->spu_channel_user]; + stream->spu_channel = (stream->spu_track_map[stream->spu_channel_user] & 0xFF); else stream->spu_channel = stream->spu_channel_auto; } -- cgit v1.2.3