[MPlayer-dev-eng] mencoder -oac copy does not work all the times.
Moritz Bunkus
moritz at bunkus.org
Mon Jan 17 19:15:07 CET 2005
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.
> I did some tests and it seems to work. But I'm not sure if
> it breaks something else.
It breaks EVERYTHING else.
Mosu
--
If Darl McBride was in charge, he'd probably make marriage
unconstitutional too, since clearly it de-emphasizes the commercial
nature of normal human interaction, and probably is a major impediment
to the commercial growth of prostitution. - Linus Torvalds
More information about the MPlayer-dev-eng
mailing list