# HG changeset patch # User reimar # Date 1344792024 0 # Node ID c24d1a0c766575297fde02eddbb0e0ce3e6c6b0e # Parent 0034a2bf7b42eb2d1d811d1b0d3ad99190745f70 Make compiler give the ana_coeff array automatically the right size. Makes adding more colour schemes easier. diff -r 0034a2bf7b42 -r c24d1a0c7665 libmpcodecs/vf_stereo3d.c --- a/libmpcodecs/vf_stereo3d.c Sun Aug 12 17:15:35 2012 +0000 +++ b/libmpcodecs/vf_stereo3d.c Sun Aug 12 17:20:24 2012 +0000 @@ -74,7 +74,7 @@ } 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}},