Fill the r, g, b values used for computing the c->pal_yuv table in the
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 4 Mar 2010 00:31:13 +0000 (00:31 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 4 Mar 2010 00:31:13 +0000 (00:31 +0000)
commit23bf3b2c97909329e5265d459d56bc22f391d1fe
tree9ea54a4f0f424e35c1cb9b4783a15c13697c6fe7
parent3fec44c640ea0c8fd1944e9a41da50a3d7251274
Fill the r, g, b values used for computing the c->pal_yuv table in the
case where the source format is PIX_FMT_GRAY8.

This is required as PIX_FMT_GRAY8 has been declared as a paletted
format in FFmpeg r22191, fix GRAY8 -> RGB conversion.

Originally committed as revision 30826 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/swscale.c