[MPlayer-dev-eng] [PATCH] Try twice when searching for MP3 frame header, fixes Bug 380

Guillaume POIRIER poirierg at gmail.com
Sat Dec 31 19:57:19 CET 2005


Hi,

> 2005/12/31, Guillaume POIRIER <poirierg at gmail.com>:
> > Hi,
> >
> >
> > What do you think about this patch? It's trivial, and apart from maybe
> > slowing down a bit initialisation, killing one more bugzilla is sweet!
> > :P
>
> Also this is the recommended way to sync MP3 frames. See
> http://www.dv.co.yu/mpgscript/mpeghdr.htm. :-)
>
> BTW: Both DivX player and VirtualDub can correctly report the sampling
> frequency as 44100Hz.

Ok, I bite the bullet and commit it.
If ever this isn't the best fix, I'm sure someone will come up with a
better solution. Otherwise, reverting it is also quite simple.

Happy new year folks!

Guillaume
--
Life is pleasant. Death is peaceful. It's the transition that's troublesome.
    Isaac Asimov (1920 - 1992)

MPlayer's doc is offline. Find some fresh one here:
http://tuxrip.free.fr//MPlayer-DOCS-HTML/en/
http://tuxrip.free.fr//MPlayer-DOCS-HTML/fr/




More information about the MPlayer-dev-eng mailing list