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

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2015-12-18 19:44:01 +01:00
parent 1c878474fb
commit aefcc77b90
1 changed files with 1 additions and 2 deletions

View File

@ -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: