# HG changeset patch # User reimar # Date 1289748867 0 # Node ID 0143883f2e8b0096cd5e461b7c31167163f8f817 # Parent 8341f48adbc5a325412f1e8cea1a4d3a4bf0ce75 Remove unused struct element. diff -r 8341f48adbc5 -r 0143883f2e8b libmpcodecs/vf_stereo3d.c --- a/libmpcodecs/vf_stereo3d.c Sun Nov 14 15:33:25 2010 +0000 +++ b/libmpcodecs/vf_stereo3d.c Sun Nov 14 15:34:27 2010 +0000 @@ -67,7 +67,6 @@ unsigned int off_right; unsigned int row_left; unsigned int row_right; - unsigned int stride; } component; //==global variables==// @@ -142,19 +141,16 @@ vf->priv->in.off_right = 0; vf->priv->in.row_left = 0; vf->priv->in.row_right = 0; - vf->priv->in.stride = vf->priv->width * 3; //check input format switch (vf->priv->in.fmt) { case SIDE_BY_SIDE_LR: vf->priv->width = width / 2; vf->priv->in.off_right = vf->priv->width * 3; - vf->priv->in.stride = vf->priv->width * 6; break; case SIDE_BY_SIDE_RL: vf->priv->width = width / 2; vf->priv->in.off_left = vf->priv->width * 3; - vf->priv->in.stride = vf->priv->width * 6; break; case ABOVE_BELOW_2_LR: d_height *= 2; @@ -181,7 +177,6 @@ vf->priv->out.off_right = 0; vf->priv->out.row_left = 0; vf->priv->out.row_right = 0; - vf->priv->out.stride = vf->priv->width * 3; //check output format switch (vf->priv->out.fmt) { @@ -201,12 +196,10 @@ case SIDE_BY_SIDE_LR: vf->priv->out.width = vf->priv->width * 2; vf->priv->out.off_right = vf->priv->width * 3; - vf->priv->out.stride = vf->priv->width * 6; break; case SIDE_BY_SIDE_RL: vf->priv->out.width = vf->priv->width * 2; vf->priv->out.off_left = vf->priv->width * 3; - vf->priv->out.stride = vf->priv->width * 6; break; case ABOVE_BELOW_2_LR: d_height /= 2;