Commit bad3e79d authored by alex's avatar alex

bigendian fix


git-svn-id: file:///var/local/repositories/mplayer/trunk/postproc@12658 b3059339-0415-0410-9bf9-f77b7e298cf2
parent f2867770
......@@ -642,7 +642,7 @@ static int div_round (int dividend, int divisor)
int yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation)
{
const int isRgb = IMGFMT_IS_RGB(c->dstFormat);
const int isRgb = IMGFMT_IS_BGR(c->dstFormat);
const int bpp = isRgb?IMGFMT_RGB_DEPTH(c->dstFormat):IMGFMT_BGR_DEPTH(c->dstFormat);
int i;
uint8_t table_Y[1024];
......
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