Commit 55876270 authored by bellard's avatar bellard

resample fix by Petros Tsantoulis


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1018 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 88d19cbb
......@@ -75,9 +75,9 @@ static int fractional_resample(ReSampleChannelContext *s, short *output, short *
*q++ = (l0 * (FRAC - frac) + l1 * frac) >> FRAC_BITS;
frac = frac + s->incr;
while (frac >= FRAC) {
frac -= FRAC;
if (p >= pend)
goto the_end;
frac -= FRAC;
l0 = l1;
l1 = *p++;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment