mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-02 20:35:37 +02:00
bigendian fix
Originally committed as revision 12658 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
This commit is contained in:
parent
0ff93477be
commit
57c4d4051e
@ -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)
|
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);
|
const int bpp = isRgb?IMGFMT_RGB_DEPTH(c->dstFormat):IMGFMT_BGR_DEPTH(c->dstFormat);
|
||||||
int i;
|
int i;
|
||||||
uint8_t table_Y[1024];
|
uint8_t table_Y[1024];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user