From: Loren Merritt Date: Wed, 10 May 2006 16:42:07 +0000 (+0000) Subject: allow sar=1/1. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7022fe85d84db4a5a95a7b4ac699423277638881;p=libx264 allow sar=1/1. patch by Loic Le Loarer. git-svn-id: svn://svn.videolan.org/x264/trunk@521 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/encoder/encoder.c b/encoder/encoder.c index 4849168f..9933266e 100644 --- a/encoder/encoder.c +++ b/encoder/encoder.c @@ -506,10 +506,6 @@ x264_t *x264_encoder_open ( x264_param_t *param ) { x264_log( h, X264_LOG_ERROR, "cannot create valid sample aspect ratio\n" ); } - else if( i_w == i_h ) - { - x264_log( h, X264_LOG_INFO, "no need for a SAR\n" ); - } else { x264_log( h, X264_LOG_INFO, "using SAR=%d/%d\n", i_w, i_h );