[FFmpeg-devel] [PATCH 3/3] Add missing comma, fix rgb2yuv_table[SWS_CS_SMPTE240M] coefficients.

Stefano Sabatini stefano.sabatini-lala
Fri Jul 23 18:54:57 CEST 2010


From: Stefano Sabatini <stefano at iosto.(none)>

---
 swscale.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/swscale.c b/swscale.c
index e891e57..6cd4fc1 100644
--- a/swscale.c
+++ b/swscale.c
@@ -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
 };
 
 /*
-- 
1.6.3.3




More information about the ffmpeg-devel mailing list