# HG changeset patch # User romansh # Date 1051156773 0 # Node ID 3b9e4b0a91e248a1cd9bdf36577bc9f6af7d07f2 # Parent 013a7a0f2a1fe623455fca646d1b52fb3a3d562d * Making AVI encoding predictable (all JUNK chunks are filled with 0) * Updating regression refs * Making server-regression.sh work on Solaris diff -r 013a7a0f2a1f -r 3b9e4b0a91e2 avienc.c --- a/avienc.c Wed Apr 23 18:38:34 2003 +0000 +++ b/avienc.c Thu Apr 24 03:59:33 2003 +0000 @@ -416,10 +416,11 @@ if (!url_is_streamed(pb)) { unsigned char tag[5]; + int j; /* Starting to lay out AVI OpenDML master index. * We want to make it JUNK entry for now, since we'd - * like to get away without making AVI and OpenDML one + * like to get away without making AVI an OpenDML one * for compatibility reasons. */ avi->indexes[i].entry = avi->indexes[i].ents_allocated = 0; @@ -432,7 +433,8 @@ /* dwChunkId */ put_le64(pb, 0); /* dwReserved[3] put_le32(pb, 0); Must be 0. */ - url_fskip(pb, AVI_MASTER_INDEX_SIZE * 4 * 4); + for (j=0; j < AVI_MASTER_INDEX_SIZE * 2; j++) + put_le64(pb, 0); end_tag(pb, avi->indexes[i].indx_start); }