[FFmpeg-devel] [PATCH] vorbis_enc.c: avoid div zero that causes noise

Michael Niedermayer michaelni
Wed Jun 2 14:31:25 CEST 2010


On Tue, Jun 01, 2010 at 08:02:26PM -0700, Frank Barchard wrote:
> On Tue, Jun 1, 2010 at 6:01 PM, Michael Niedermayer <michaelni at gmx.at>wrote:
> 
> > On Tue, Jun 01, 2010 at 02:10:54PM -0700, Frank Barchard wrote:
> >
> > On Tue, Jun 1, 2010 at 12:39 PM, Michael Niedermayer <michaelni at gmx.at>
> > >  wrote:
> > > > does
> > > > average= sqrt(tot_average * average) *  pow(1.25, position*0.005)
> > > >
> > > > work as well (without the 0 special casing of course) ?
> >
> 
> It does.  Much nicer, thanks.
[...]
>  vorbis_enc.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> d1aecc9661c579f7e38ab11eff145fce27e2fa13  vorbis_divzero_mult.patch

ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100602/3ed5aff5/attachment.pgp>



More information about the ffmpeg-devel mailing list