http://bugs.winehq.org/show_bug.cgi?id=22064
--- Comment #67 from Hans Leidekker hans@meelstraat.net 2010-08-31 02:56:08 CDT ---
It's definitely using the original data buffer as header and the first two empty buffers for data and trailer.
You're right, I mixed up header and trailer (likely because they are numbered 7 and 6 respectively). I get:
Input: buffer index buffer type 0 empty 1 empty 2 empty 3 data
Output: buffer index buffer type 0 data 1 trailer 2 empty 3 header
Which confirms your results.