Commit 124cb451 authored by Benoit Fouet's avatar Benoit Fouet
Browse files

Cosmetics: fix vertical alignment.

Originally committed as revision 30842 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent 8eafa0b4
......@@ -740,9 +740,9 @@ av_cold int ff_yuv2rgb_c_init_tables(SwsContext *c, const int inv_table[4], int
yb = -(384<<16) - oy;
for (i = 0; i < 1024; i++) {
uint8_t yval = av_clip_uint8((yb + 0x8000) >> 16);
y_table16[i ] = (yval >> 4) << rbase;
y_table16[i ] = (yval >> 4) << rbase;
y_table16[i+1024] = (yval >> 4) << gbase;
y_table16[i+2048] = (yval >> 4) << bbase;
y_table16[i+2048] = (yval >> 4) << bbase;
yb += cy;
}
fill_table(c->table_rV, 2, crv, y_table16 + yoffs);
......
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