# HG changeset patch # User reimar # Date 1266160644 0 # Node ID 4995c42045c98d802fd91172ae26a2c14b6d25c3 # Parent e0996062f8e93160e56e4e7e0a33942d565e996e Make len unsigned. More correct anyway and avoids sign extension to 64 bit for the 64+32 bit addition. diff -r e0996062f8e9 -r 4995c42045c9 libmpdemux/demux_avi.c --- a/libmpdemux/demux_avi.c Sun Feb 14 15:09:21 2010 +0000 +++ b/libmpdemux/demux_avi.c Sun Feb 14 15:17:24 2010 +0000 @@ -541,7 +541,7 @@ int i; for(i=0;iidx_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;