[vlc-devel] [PATCH 11/13] mosaic_bridge: remove redundant check on the SAR

Steve Lhomme robux4 at ycbcr.xyz
Tue Feb 19 10:38:24 CET 2019


---
 modules/stream_out/mosaic_bridge.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/modules/stream_out/mosaic_bridge.c b/modules/stream_out/mosaic_bridge.c
index 0f6df2e84c..30975c760f 100644
--- a/modules/stream_out/mosaic_bridge.c
+++ b/modules/stream_out/mosaic_bridge.c
@@ -599,11 +599,6 @@ static void video_update_format( video_format_t *video, es_format_t *fmt_out )
         (int64_t)fmt_out->video.i_sar_num * video->i_sar_den !=
         (int64_t)fmt_out->video.i_sar_den * video->i_sar_num )
     {
-        vlc_ureduce( &fmt_out->video.i_sar_num,
-                     &fmt_out->video.i_sar_den,
-                     fmt_out->video.i_sar_num,
-                     fmt_out->video.i_sar_den, 0 );
-
         *video = fmt_out->video;
     }
 }
-- 
2.17.1



More information about the vlc-devel mailing list