changeset 12062:d030debb4442

Round Chunklen to word boundary
author ranma
date Wed, 24 Mar 2004 15:21:21 +0000
parents 656a1b45b309
children e11fc0ef72db
files libmpdemux/muxer_avi.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/muxer_avi.c	Wed Mar 24 15:16:36 2004 +0000
+++ b/libmpdemux/muxer_avi.c	Wed Mar 24 15:21:21 2004 +0000
@@ -236,7 +236,7 @@
     s->size+=len;
     if((unsigned int)len>s->h.dwSuggestedBufferSize) s->h.dwSuggestedBufferSize=len;
 
-    muxer->file_end += len + 8;
+    muxer->file_end += len + len&1 + 8;
 }
 
 static void write_avi_list(FILE *f,unsigned int id,int len){