[vlc-commits] transcode: remove dead code in sar
Francois Cartegnie
git at videolan.org
Mon Jul 9 16:15:12 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jun 21 14:38:32 2018 +0200| [ecd88969dd4320a88d6b76b0416392fd7d0e59f0] | committer: Francois Cartegnie
transcode: remove dead code in sar
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ecd88969dd4320a88d6b76b0416392fd7d0e59f0
---
modules/stream_out/transcode/video.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/modules/stream_out/transcode/video.c b/modules/stream_out/transcode/video.c
index af2c71f1c1..9c88f3c1ee 100644
--- a/modules/stream_out/transcode/video.c
+++ b/modules/stream_out/transcode/video.c
@@ -578,14 +578,6 @@ static void transcode_video_sar_init( sout_stream_t *p_stream,
sout_stream_id_sys_t *id,
const video_format_t *p_vid_out )
{
- int i_src_visible_width = p_vid_out->i_visible_width;
- int i_src_visible_height = p_vid_out->i_visible_height;
-
- if (i_src_visible_width == 0)
- i_src_visible_width = p_vid_out->i_width;
- if (i_src_visible_height == 0)
- i_src_visible_height = p_vid_out->i_height;
-
/* Check whether a particular aspect ratio was requested */
if( id->p_encoder->fmt_out.video.i_sar_num <= 0 ||
id->p_encoder->fmt_out.video.i_sar_den <= 0 )
More information about the vlc-commits
mailing list