[MPlayer-cvslog] r23779 - trunk/libmpdemux/aviheader.c
reimar
subversion at mplayerhq.hu
Sat Jul 14 11:01:44 CEST 2007
Author: reimar
Date: Sat Jul 14 11:01:44 2007
New Revision: 23779
Log:
Use stream_read_qword_le
Modified:
trunk/libmpdemux/aviheader.c
Modified: trunk/libmpdemux/aviheader.c
==============================================================================
--- trunk/libmpdemux/aviheader.c (original)
+++ trunk/libmpdemux/aviheader.c Sat Jul 14 11:01:44 2007
@@ -247,8 +247,7 @@ while(1){
// 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",
More information about the MPlayer-cvslog
mailing list