Mercurial > mplayer.hg
changeset 33599:6d690eac34eb
Avoid C99 syntax not supported by some old compilers.
author | reimar |
---|---|
date | Tue, 21 Jun 2011 16:54:45 +0000 |
parents | 2b750a2ce45f |
children | 8a4fd4d4f985 |
files | libmpcodecs/vf_stereo3d.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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++) {