0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

bigendian fix

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12658 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2004-06-25 17:05:35 +00:00
parent c2446af65b
commit 8690b155f6

View File

@ -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];