Commit 3eb42919 authored by lorenm's avatar lorenm

indent


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19727 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a9eb8c79
...@@ -176,20 +176,20 @@ static void render_line(int x0, int y0, int x1, int y1, float * buf) { ...@@ -176,20 +176,20 @@ static void render_line(int x0, int y0, int x1, int y1, float * buf) {
if(ady*2<=adx) { // optimized common case if(ady*2<=adx) { // optimized common case
render_line_unrolled(x0, y0, x1, sy, ady, adx, buf); render_line_unrolled(x0, y0, x1, sy, ady, adx, buf);
} else { } else {
int base = dy / adx; int base = dy / adx;
int x = x0; int x = x0;
int y = y0; int y = y0;
int err = -adx; int err = -adx;
ady -= FFABS(base) * adx; ady -= FFABS(base) * adx;
while (++x < x1) { while (++x < x1) {
y += base; y += base;
err += ady; err += ady;
if (err >= 0) { if (err >= 0) {
err -= adx; err -= adx;
y += sy; y += sy;
}
buf[x] = ff_vorbis_floor1_inverse_db_table[y];
} }
buf[x] = ff_vorbis_floor1_inverse_db_table[y];
}
} }
} }
......
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