summaryrefslogtreecommitdiff
path: root/libavfilter/vf_stereo3d.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-12-18 10:48:36 +0100
committerPaul B Mahol <onemda@gmail.com>2015-12-18 10:56:33 +0100
commitec1b95dda4a856ae532a0a27aa6213040e712d68 (patch)
tree2f3530a96781453bbd69c2d1a586bd4575b72168 /libavfilter/vf_stereo3d.c
parenta2a217b351194e92b985d4f7edb5150723fd21fa (diff)
avfilter/vf_stereo3d: fix interleave rows output
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_stereo3d.c')
-rw-r--r--libavfilter/vf_stereo3d.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavfilter/vf_stereo3d.c b/libavfilter/vf_stereo3d.c
index 4456bd702a..a4f5f93ce1 100644
--- a/libavfilter/vf_stereo3d.c
+++ b/libavfilter/vf_stereo3d.c
@@ -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;