[MPlayer-dev-eng] [PATCH] AVI LISTs should include pad bytes

Chris Pearson chriscpearson at dsl-only.net
Thu Aug 26 17:18:47 CEST 2010


Hi,

Here's a patch to fix an issue in the AVI file encoding produced by
mencoder.

The problem I'm seeing is that, if a LIST chunk contains an odd-length
chunk, the LIST length does not include the pad byte following the contained
chunk.  That causes some AVI parsers to truncate the last chunk in the LIST.
I've seen that happen to the audio "strf" chunk.

The patch includes a few other small improvements that aren't critical.

-- Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-avimux.patch
Type: application/octet-stream
Size: 6285 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100826/347cbe9d/attachment.obj>


More information about the MPlayer-dev-eng mailing list