Mercurial > mplayer.hg
changeset 34984:c24d1a0c7665
Make compiler give the ana_coeff array automatically the right size.
Makes adding more colour schemes easier.
author | reimar |
---|---|
date | Sun, 12 Aug 2012 17:20:24 +0000 |
parents | 0034a2bf7b42 |
children | 9d7b24fd046b |
files | libmpcodecs/vf_stereo3d.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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}},