]> granicus.if.org Git - libx264/commitdiff
allow sar=1/1.
authorLoren Merritt <pengvado@videolan.org>
Wed, 10 May 2006 16:42:07 +0000 (16:42 +0000)
committerLoren Merritt <pengvado@videolan.org>
Wed, 10 May 2006 16:42:07 +0000 (16:42 +0000)
patch by Loic Le Loarer.

git-svn-id: svn://svn.videolan.org/x264/trunk@521 df754926-b1dd-0310-bc7b-ec298dee348c

encoder/encoder.c

index 4849168f10a5802f51b33224d8910b5d4530dd94..9933266e4684373660a47d861edd233cd6d37f90 100644 (file)
@@ -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 );