Mercurial > mplayer.hg
changeset 23759:2f9087268fbd
Use stream_read_qword_le
author | reimar |
---|---|
date | Sat, 14 Jul 2007 09:01:44 +0000 |
parents | 795631068b92 |
children | ca47426999ad |
files | libmpdemux/aviheader.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/aviheader.c Fri Jul 13 21:15:24 2007 +0000 +++ b/libmpdemux/aviheader.c Sat Jul 14 09:01:44 2007 +0000 @@ -247,8 +247,7 @@ // now the real index of indices for (i=0; i<s->nEntriesInUse; i++) { chunksize-=16; - s->aIndex[i].qwOffset = stream_read_dword_le(demuxer->stream) & 0xffffffff; - s->aIndex[i].qwOffset |= ((uint64_t)stream_read_dword_le(demuxer->stream) & 0xffffffff)<<32; + s->aIndex[i].qwOffset = stream_read_qword_le(demuxer->stream); s->aIndex[i].dwSize = stream_read_dword_le(demuxer->stream); s->aIndex[i].dwDuration = stream_read_dword_le(demuxer->stream); mp_msg (MSGT_HEADER, MSGL_V, "ODML (%.4s): [%d] 0x%016"PRIx64" 0x%04x %u\n",