[vlc-devel] [PATCH] display: remove tautologic assignment
Steve Lhomme
robux4 at ycbcr.xyz
Mon Oct 12 15:13:35 CEST 2020
---
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 5e895fd5b1f..99bb4d5ac86 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))
--
2.26.2
More information about the vlc-devel
mailing list