[Ffmpeg-devel] [PATCH] Fix DTS in WAV file playback.

Michael Niedermayer michaelni
Sat Feb 18 22:36:27 CET 2006


Hi

On Sat, Feb 18, 2006 at 06:11:27PM +0100, Benjamin Zores wrote:
> Hi,
> 
> The following patch allow playback of WAV files with broken DTS format ID.
> Currently, DTS codec is supposed to be referenced as 0x2001 but I've never seen a sample
> with such an ID. Most of DTS samples in WAV are using 0x01 (which is PCM reserved) which
> is of course a broken behavior, but so is life.
> 
> So the patch checks for begining of bytestream to match some DTS known-bytestream.

iam not too happy eith this patch, but i cant think of a better way to do it
so its ok and can be applied

[...]

-- 
Michael





More information about the ffmpeg-devel mailing list