Mercurial > libavformat.hg
changeset 123:3b9e4b0a91e2 libavformat
* Making AVI encoding predictable (all JUNK chunks are filled with 0)
* Updating regression refs
* Making server-regression.sh work on Solaris
author | romansh |
---|---|
date | Thu, 24 Apr 2003 03:59:33 +0000 |
parents | 013a7a0f2a1f |
children | a1ad0f8b75bf |
files | avienc.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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); }