[vlc-commits] display: remove tautologic assignment

Steve Lhomme git at videolan.org
Tue Oct 13 13:15:30 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Oct 12 13:13:48 2020 +0200| [2d505954a728866b5cedf6c5035da67a872441c8] | committer: Steve Lhomme

display: remove tautologic assignment

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2d505954a728866b5cedf6c5035da67a872441c8
---

 src/video_output/display.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/video_output/display.c b/src/video_output/display.c
index 5e895fd5b1..99bb4d5ac8 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -530,9 +530,6 @@ static int vout_SetSourceAspect(vout_display_t *vd,
     if (sar_num > 0 && sar_den > 0) {
         osys->source.i_sar_num = sar_num;
         osys->source.i_sar_den = sar_den;
-    } else {
-        osys->source.i_sar_num = osys->source.i_sar_num;
-        osys->source.i_sar_den = osys->source.i_sar_den;
     }
 
     if (vout_display_Control(vd, VOUT_DISPLAY_CHANGE_SOURCE_ASPECT))



More information about the vlc-commits mailing list