changeset 30542:4995c42045c9

Make len unsigned. More correct anyway and avoids sign extension to 64 bit for the 64+32 bit addition.
author reimar
date Sun, 14 Feb 2010 15:17:24 +0000
parents e0996062f8e9
children ee0b9c3bbf29
files libmpdemux/demux_avi.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;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;