diff --git a/libs/riff/gstriffencode.c b/libs/riff/gstriffencode.c index 425e85d28c..f5e014a96c 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) \