From f462526422c6c8d6d0b9847448d81fc7e43f3295 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 12 Jun 2001 19:47:41 +0000 Subject: [PATCH] Fixed a bug in the avi encoder with wrong alignment. Original commit message from CVS: Fixed a bug in the avi encoder with wrong alignment. --- libs/riff/gstriffencode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/riff/gstriffencode.c b/libs/riff/gstriffencode.c index 425e85d..f5e014a 100644 --- a/libs/riff/gstriffencode.c +++ b/libs/riff/gstriffencode.c @@ -30,7 +30,7 @@ chunk = (gst_riff_chunk *)(riffenc->dataleft + riffenc->nextlikely);\ chunk->id = chunkid; \ chunk->size = chunksize; \ - riffenc->nextlikely += sizeof(gst_riff_chunk) + (chunksize&1); \ + riffenc->nextlikely += sizeof(gst_riff_chunk); \ } #define ADD_LIST(riffenc, listsize, listtype) \ -- 2.7.4