Add missing comma, fix rgb2yuv_table[SWS_CS_SMPTE240M] coefficients.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 24 Jul 2010 11:19:39 +0000 (11:19 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 24 Jul 2010 11:19:39 +0000 (11:19 +0000)
Originally committed as revision 31779 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale.c

index 7a18cf2..3605836 100644 (file)
@@ -104,7 +104,7 @@ static const double rgb2yuv_table[8][9]={
     {0.59  , 0.11  , 0.30  , -0.331, 0.5, -0.169, -0.421, -0.079, 0.5}, //FCC
     {0.587 , 0.114 , 0.299 , -0.331, 0.5, -0.169, -0.419, -0.081, 0.5}, //DEFAULT / ITU601 / ITU624 / SMPTE 170M
     {0.587 , 0.114 , 0.299 , -0.331, 0.5, -0.169, -0.419, -0.081, 0.5}, //DEFAULT / ITU601 / ITU624 / SMPTE 170M
-    {0.701 , 0.087 , 0.212 , -0.384, 0.5  -0.116, -0.445, -0.055, 0.5}, //SMPTE 240M
+    {0.701 , 0.087 , 0.212 , -0.384, 0.5, -0.116, -0.445, -0.055, 0.5}, //SMPTE 240M
 };
 
 /*