changeset 32540:0143883f2e8b

Remove unused struct element.
author reimar
date Sun, 14 Nov 2010 15:34:27 +0000
parents 8341f48adbc5
children 45b3a91e8fb7
files libmpcodecs/vf_stereo3d.c
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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;