Mercurial > mplayer.hg
changeset 19954:f3f751f50ccf
Missing part of previous patch to demux_real.c (revision 19958)
author | reimar |
---|---|
date | Sat, 23 Sep 2006 17:00:09 +0000 |
parents | 1cf4e1373d4e |
children | 2792de2ca069 |
files | libmpdemux/demux_real.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_real.c Sat Sep 23 16:46:08 2006 +0000 +++ b/libmpdemux/demux_real.c Sat Sep 23 17:00:09 2006 +0000 @@ -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