[FFmpeg-cvslog] avfilter/vf_stereo3d: multiply linesize only once for interleaved row to mono
Paul B Mahol
git at videolan.org
Fri Dec 18 19:48:49 CET 2015
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Dec 18 19:44:01 2015 +0100| [aefcc77b9051812b2da902c1acd1e92d337f742b] | committer: Paul B Mahol
avfilter/vf_stereo3d: multiply linesize only once for interleaved row to mono
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aefcc77b9051812b2da902c1acd1e92d337f742b
---
libavfilter/vf_stereo3d.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavfilter/vf_stereo3d.c b/libavfilter/vf_stereo3d.c
index 22f64aa..3222d8e 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:
More information about the ffmpeg-cvslog
mailing list