summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xine-engine/video_decoder.c4
1 files changed, 2 insertions, 2 deletions
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;
}