Commit aefcc77b authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_stereo3d: multiply linesize only once for interleaved row to mono

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 1c878474
...@@ -781,8 +781,7 @@ copy: ...@@ -781,8 +781,7 @@ copy:
case INTERLEAVE_ROWS_LR: case INTERLEAVE_ROWS_LR:
case INTERLEAVE_ROWS_RL: case INTERLEAVE_ROWS_RL:
for (i = 0; i < s->nb_planes; i++) { for (i = 0; i < s->nb_planes; i++) {
oleft->linesize[i] *= 2; out->linesize[i] *= 2;
oright->linesize[i] *= 2;
} }
case ABOVE_BELOW_LR: case ABOVE_BELOW_LR:
case ABOVE_BELOW_RL: case ABOVE_BELOW_RL:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment