summaryrefslogtreecommitdiffstats
path: root/postproc
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-25 17:05:35 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-25 17:05:35 +0000
commit8690b155f6b3f2a9bea739987d258687b234b08c (patch)
tree2d1c22341dc9972e17db6516e001056b422940ea /postproc
parentc2446af65b698d4c88ef5476412bec6af80ab7d2 (diff)
downloadmpv-8690b155f6b3f2a9bea739987d258687b234b08c.tar.bz2
mpv-8690b155f6b3f2a9bea739987d258687b234b08c.tar.xz
bigendian fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12658 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc')
-rw-r--r--postproc/yuv2rgb.c2
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];