[Ffmpeg-devel] [PATCH] Fix DTS in WAV file playback.
Sun Feb 19 00:52:20 CET 2006
On Sun, Feb 19, 2006 at 12:30:25AM +0100, Benjamin Zores wrote:
> On Sat, 18 Feb 2006 22:36:27 +0100
> Michael Niedermayer <michaelni at gmx.at> wrote:
> > 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
> I don't like the hack much myself but as you've said, i can't see a 'less worse' way.
> Anyhow, please consider this revised version then.
> It provides a better (and sure) way to handle DTS header.
is it possible to require more then 1 dts header for detection? this would
reduce the chance of false detections ...
having 4bytes matching will happen approximately once in 2^32 cases
but if you search 16384 cases then its down to once in 2^18 cases
More information about the ffmpeg-devel