Commit 5012cf88 authored by Vitor Sessak's avatar Vitor Sessak

Merge two if's

Originally committed as revision 13401 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9d3c35fc
......@@ -214,16 +214,14 @@ static void do_output_subblock(Real144_internal *glob,
if (a) {
a += HALFBLOCK - 1;
rotate_block(glob->buffer_2, buffer_a, a);
m[0] = irms(buffer_a, gval) >> 12;
} else {
m[0] = 0;
}
m[1] = ((ftable1[b] >> 4) * gval) >> 8;
m[2] = ((ftable2[c] >> 4) * gval) >> 8;
if (a)
m[0] = irms(buffer_a, gval) >> 12;
else
m[0] = 0;
memmove(glob->buffer_2, glob->buffer_2 + BLOCKSIZE,
(BUFFERSIZE - BLOCKSIZE) * 2);
......
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