[MPlayer-dev-eng] [PATCH] demux_audio - be stricter when recognizing WAV format

compn tempn at twmi.rr.com
Wed Sep 9 02:15:05 CEST 2009


On Wed, 9 Sep 2009 01:22:33 +0200, Reimar Döffinger wrote:
>On Tue, Sep 08, 2009 at 05:23:59PM -0500, Daniel Verkamp wrote:
>> Currently, demux_audio picks up Sony Wave64 files as plain WAV due to
>> the fmt chunk being recognized.  The attached patch adds an extra
>> check so that the RIFF and WAVE chunks must be seen first to recognize
>> a fmt chunk as indicating a WAV-format file.  This allows W64 files to
>> fall through to lavf.
>
>The simpler and probably better solution would be to add your demuxer to
>the preferred formats.

in demux_lavf.c or extension.c ?

but yeah, your change might break some wav files ...

-compn



More information about the MPlayer-dev-eng mailing list