[MPlayer-cvslog] r19960 - trunk/libmpdemux/demux_real.c

reimar subversion at mplayerhq.hu
Sat Sep 23 19:00:09 CEST 2006


Author: reimar
Date: Sat Sep 23 19:00:09 2006
New Revision: 19960

Modified:
   trunk/libmpdemux/demux_real.c

Log:
Missing part of previous patch


Modified: trunk/libmpdemux/demux_real.c
==============================================================================
--- trunk/libmpdemux/demux_real.c	(original)
+++ trunk/libmpdemux/demux_real.c	Sat Sep 23 19:00:09 2006
@@ -882,7 +882,7 @@
 		    mp_dbg(MSGT_DEMUX,MSGL_DBG2, "l: %02X %02X ",vpkg_length>>8,vpkg_length&0xff);
 		    if (!(vpkg_length&0xC000)) {
 			vpkg_length<<=16;
-		        vpkg_length|=stream_read_word(demuxer->stream);
+		        vpkg_length|=(uint16_t)stream_read_word(demuxer->stream);
 		        mp_dbg(MSGT_DEMUX,MSGL_DBG2, "l+: %02X %02X ",(vpkg_length>>8)&0xff,vpkg_length&0xff);
 	    	        len-=2;
 		    } else
@@ -896,7 +896,7 @@
 		    mp_dbg(MSGT_DEMUX,MSGL_DBG2, "o: %02X %02X ",vpkg_offset>>8,vpkg_offset&0xff);
 		    if (!(vpkg_offset&0xC000)) {
 			vpkg_offset<<=16;
-		        vpkg_offset|=stream_read_word(demuxer->stream);
+		        vpkg_offset|=(uint16_t)stream_read_word(demuxer->stream);
 		        mp_dbg(MSGT_DEMUX,MSGL_DBG2, "o+: %02X %02X ",(vpkg_offset>>8)&0xff,vpkg_offset&0xff);
 	    	        len-=2;
 		    } else



More information about the MPlayer-cvslog mailing list