On Mon, Jan 17, 2005 at 07:15:07PM +0100, Moritz Bunkus wrote:
Hey,
--- libmpdemux/ms_hdr.h.ori 2005-01-17 11:49:41.000000000 -0400 +++ libmpdemux/ms_hdr.h 2005-01-17 11:50:37.000000000 -0400 @@ -4,7 +4,7 @@ #ifndef _WAVEFORMATEX_ #define _WAVEFORMATEX_ typedef struct __attribute__((__packed__)) _WAVEFORMATEX { - unsigned short wFormatTag; + unsigned int wFormatTag; unsigned short nChannels; unsigned int nSamplesPerSec; unsigned int nAvgBytesPerSec;
rofl. This will make those files unplayable with anything else than mplayer/mencoder. The WAVEFORMATEX structure has a fixed format that you cannot change.
Hey, I'm not an MPlayer developer. I wrote to the list to receive comments. Do you have more contructive suggestions about the problem with LPCM audio? I have another solution in mind, but I'm waiting for more comments from other people. What would be an appopriate solution? Giacomo