You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect Data Padding for Audio and Video Chunks #12
Per microsoft AVI RIFF File Reference documentation: For chunk data blocks: The data is always padded to nearest WORD boundary. ckSize gives the size of the valid data in the chunk; it does not include the padding, the size of ckID, or the size of ckSize.
WORD data size 2 is bytes. gwavi.c Line 241 using a 4 byte pad. It should be 2. Also, the size of the pad is being added into the size of the chunk and it should not be.
Activity
mjbudd77 commentedon Aug 29, 2021
Here is where the size of the padding is incorrectly being added in to ckSize.
libgwavi/src/gwavi.c
Line 259 in 53fe51e