# HG changeset patch # User reimar # Date 1308675285 0 # Node ID 6d690eac34eb9eeaa87054549d51fe2faae1136f # Parent 2b750a2ce45fc34ca3d882873567213b994694fd Avoid C99 syntax not supported by some old compilers. diff -r 2b750a2ce45f -r 6d690eac34eb libmpcodecs/vf_stereo3d.c --- a/libmpcodecs/vf_stereo3d.c Tue Jun 21 16:53:01 2011 +0000 +++ b/libmpcodecs/vf_stereo3d.c Tue Jun 21 16:54:45 2011 +0000 @@ -312,13 +312,13 @@ case ANAGLYPH_YB_GRAY: case ANAGLYPH_YB_HALF: case ANAGLYPH_YB_COLOR: { - int x,y,il,ir,o; + int i,x,y,il,ir,o; unsigned char *source = mpi->planes[0]; unsigned char *dest = dmpi->planes[0]; unsigned int out_width = vf->priv->out.width; int *ana_matrix[3]; - for(int i = 0; i < 3; i++) + for(i = 0; i < 3; i++) ana_matrix[i] = vf->priv->ana_matrix[i]; for (y = 0; y < vf->priv->out.height; y++) {