[MPlayer-cvslog] r35078 - trunk/libmpcodecs/vf_stereo3d.c

reimar subversion at mplayerhq.hu
Sun Aug 12 19:20:24 CEST 2012


Author: reimar
Date: Sun Aug 12 19:20:24 2012
New Revision: 35078

Log:
Make compiler give the ana_coeff array automatically the right size.
Makes adding more colour schemes easier.

Modified:
   trunk/libmpcodecs/vf_stereo3d.c

Modified: trunk/libmpcodecs/vf_stereo3d.c
==============================================================================
--- trunk/libmpcodecs/vf_stereo3d.c	Sun Aug 12 19:15:35 2012	(r35077)
+++ trunk/libmpcodecs/vf_stereo3d.c	Sun Aug 12 19:20:24 2012	(r35078)
@@ -74,7 +74,7 @@ typedef struct component {
 } component;
 
 //==global variables==//
-static const int ana_coeff[10][3][6] = {
+static const int ana_coeff[][3][6] = {
     {{19595, 38470,  7471,     0,     0,     0},    //ANAGLYPH_RC_GRAY
      {    0,     0,     0, 19595, 38470,  7471},
      {    0,     0,     0, 19595, 38470,  7471}},


More information about the MPlayer-cvslog mailing list