Browse code

avfilter/vf_stereo3d: fix interleave rows output

Signed-off-by: Paul B Mahol <onemda@gmail.com>

Paul B Mahol authored on 2015/12/18 18:48:36
Showing 1 changed files
... ...
@@ -496,14 +496,12 @@ static int config_output(AVFilterLink *outlink)
496 496
         s->out.row_step  = 2;
497 497
         s->out.height    = s->height * 2;
498 498
         s->out.off_rstep = 1;
499
-        s->in.off_rstep  = s->in.format != INTERLEAVE_ROWS_RL;
500 499
         break;
501 500
     case INTERLEAVE_ROWS_RL:
502 501
         s->in.row_step   = 1 + (s->in.format == INTERLEAVE_ROWS_LR);
503 502
         s->out.row_step  = 2;
504 503
         s->out.height    = s->height * 2;
505 504
         s->out.off_lstep = 1;
506
-        s->in.off_lstep  = s->in.format != INTERLEAVE_ROWS_LR;
507 505
         break;
508 506
     case MONO_R:
509 507
         s->in.off_left   = s->in.off_right;