[SCM] libav/experimental: bigendian fix

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:40:45 UTC 2013


The following commit has been merged in the experimental branch:
commit 57c4d4051e145586ccb35e66a7d1a793cc42b48f
Author: Alex Beregszaszi <alex at rtfs.hu>
Date:   Fri Jun 25 17:05:35 2004 +0000

    bigendian fix
    
    Originally committed as revision 12658 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc

diff --git a/postproc/yuv2rgb.c b/postproc/yuv2rgb.c
index 9cb65c6..a8acec5 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];

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list