[MPlayer-cvslog] r30584 - trunk/libmpdemux/demux_avi.c
reimar
subversion at mplayerhq.hu
Sun Feb 14 16:17:24 CET 2010
Author: reimar
Date: Sun Feb 14 16:17:24 2010
New Revision: 30584
Log:
Make len unsigned. More correct anyway and avoids sign extension to 64 bit
for the 64+32 bit addition.
Modified:
trunk/libmpdemux/demux_avi.c
Modified: trunk/libmpdemux/demux_avi.c
==============================================================================
--- trunk/libmpdemux/demux_avi.c Sun Feb 14 16:09:21 2010 (r30583)
+++ trunk/libmpdemux/demux_avi.c Sun Feb 14 16:17:24 2010 (r30584)
@@ -541,7 +541,7 @@ static demuxer_t* demux_open_avi(demuxer
int i;
for(i=0;i<priv->idx_size;i++){
int id=avi_stream_id(idx[i].ckid);
- int len=idx[i].dwChunkLength;
+ unsigned len=idx[i].dwChunkLength;
if(sh_video->ds->id == id) {
vsize+=len;
++vsamples;
More information about the MPlayer-cvslog
mailing list