[MPlayer-dev-eng] [PATCH] Fix int wrap around in af_gcd from /libaf/af.c

Ahmet İnan mplayer at ainan.org
Mon Sep 18 18:42:35 CEST 2006


On Mon, Sep 18, 2006 at 05:05:51PM +0300, Uoti Urpala wrote:
> On Sat, 2006-09-16 at 14:22 +0200, Ahmet İnan wrote:
> > i was wondering, why "-af resample=9600:0:2" worked from 44100hz files, but
> > always failed from 48000hz files.
> 
> I suppose you meant 96000 instead of 9600 above.

yes.

> > "if (a * b_org < 0)"
> 
> The function doesn't seem to be used for negative values, so I just
> removed the buggy test.

i also saw in svn, that youve also allready changed the comment to that
function accordingly. thats of course the better solution. thank you.

ahmet




More information about the MPlayer-dev-eng mailing list