[MPlayer-cvslog] r33687 - trunk/libmpcodecs/vf_stereo3d.c
reimar
subversion at mplayerhq.hu
Tue Jun 21 18:54:45 CEST 2011
Author: reimar
Date: Tue Jun 21 18:54:45 2011
New Revision: 33687
Log:
Avoid C99 syntax not supported by some old compilers.
Modified:
trunk/libmpcodecs/vf_stereo3d.c
Modified: trunk/libmpcodecs/vf_stereo3d.c
==============================================================================
--- trunk/libmpcodecs/vf_stereo3d.c Tue Jun 21 18:53:01 2011 (r33686)
+++ trunk/libmpcodecs/vf_stereo3d.c Tue Jun 21 18:54:45 2011 (r33687)
@@ -312,13 +312,13 @@ static int put_image(struct vf_instance
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++) {
More information about the MPlayer-cvslog
mailing list