aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-12-18 19:44:01 +0100
committerPaul B Mahol <onemda@gmail.com>2015-12-18 19:44:01 +0100
commitaefcc77b9051812b2da902c1acd1e92d337f742b (patch)
tree483fd666bd98f89684178c4f5a330ca9a73ce784
parent1c878474fb1db011dc78a55616520703aedce1ce (diff)
downloadffmpeg-aefcc77b9051812b2da902c1acd1e92d337f742b.tar.gz
avfilter/vf_stereo3d: multiply linesize only once for interleaved row to mono
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavfilter/vf_stereo3d.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/vf_stereo3d.c b/libavfilter/vf_stereo3d.c
index 22f64aa547..3222d8ec20 100644
--- a/libavfilter/vf_stereo3d.c
+++ b/libavfilter/vf_stereo3d.c
@@ -781,8 +781,7 @@ copy:
case INTERLEAVE_ROWS_LR:
case INTERLEAVE_ROWS_RL:
for (i = 0; i < s->nb_planes; i++) {
- oleft->linesize[i] *= 2;
- oright->linesize[i] *= 2;
+ out->linesize[i] *= 2;
}
case ABOVE_BELOW_LR:
case ABOVE_BELOW_RL: