avfilter/vf_stereo3d: fix interleave rows output
authorPaul B Mahol <onemda@gmail.com>
Fri, 18 Dec 2015 09:48:36 +0000 (10:48 +0100)
committerPaul B Mahol <onemda@gmail.com>
Fri, 18 Dec 2015 09:56:33 +0000 (10:56 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/vf_stereo3d.c

index 4456bd7..a4f5f93 100644 (file)
@@ -496,14 +496,12 @@ static int config_output(AVFilterLink *outlink)
         s->out.row_step  = 2;
         s->out.height    = s->height * 2;
         s->out.off_rstep = 1;
-        s->in.off_rstep  = s->in.format != INTERLEAVE_ROWS_RL;
         break;
     case INTERLEAVE_ROWS_RL:
         s->in.row_step   = 1 + (s->in.format == INTERLEAVE_ROWS_LR);
         s->out.row_step  = 2;
         s->out.height    = s->height * 2;
         s->out.off_lstep = 1;
-        s->in.off_lstep  = s->in.format != INTERLEAVE_ROWS_LR;
         break;
     case MONO_R:
         s->in.off_left   = s->in.off_right;