diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2004-06-25 17:05:35 +0000 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2004-06-25 17:05:35 +0000 |
commit | 57c4d4051e145586ccb35e66a7d1a793cc42b48f (patch) | |
tree | af495e55e300a2934c92339d4af1cf51404dabb9 /postproc/yuv2rgb.c | |
parent | 0ff93477be92f76608d816361bb5efe35d663ae1 (diff) | |
download | ffmpeg-57c4d4051e145586ccb35e66a7d1a793cc42b48f.tar.gz |
bigendian fix
Originally committed as revision 12658 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/yuv2rgb.c')
-rw-r--r-- | postproc/yuv2rgb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postproc/yuv2rgb.c b/postproc/yuv2rgb.c index 9cb65c6e69..a8acec5f19 100644 --- a/postproc/yuv2rgb.c +++ b/postproc/yuv2rgb.c @@ -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]; |