[FFmpeg-cvslog] avfilter/vf_stereo3d: merge same code in case branches

Paul B Mahol git at videolan.org
Mon Sep 16 12:49:37 EEST 2019


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Sep 16 11:41:50 2019 +0200| [34a12b99788d6be1e07a70760b9e0b2ce99180f2] | committer: Paul B Mahol

avfilter/vf_stereo3d: merge same code in case branches

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=34a12b99788d6be1e07a70760b9e0b2ce99180f2
---

 libavfilter/vf_stereo3d.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavfilter/vf_stereo3d.c b/libavfilter/vf_stereo3d.c
index 50bf875ab3..5cbee393d8 100644
--- a/libavfilter/vf_stereo3d.c
+++ b/libavfilter/vf_stereo3d.c
@@ -559,8 +559,6 @@ static int config_output(AVFilterLink *outlink)
         break;
     case CHECKERBOARD_LR:
     case CHECKERBOARD_RL:
-        s->out.width     = s->width * 2;
-        break;
     case INTERLEAVE_COLS_LR:
     case INTERLEAVE_COLS_RL:
         s->out.width     = s->width * 2;



More information about the ffmpeg-cvslog mailing list