]> git.sesse.net Git - x264/commitdiff
Fixed typo that caused x264_encoder_open to always fail
authorEric Petit <titer@videolan.org>
Tue, 30 May 2006 10:05:56 +0000 (10:05 +0000)
committerEric Petit <titer@videolan.org>
Tue, 30 May 2006 10:05:56 +0000 (10:05 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@530 df754926-b1dd-0310-bc7b-ec298dee348c

encoder/encoder.c

index a8955d06688c679ed5f5d1435da15af355895994..e8472c3f2ab2a85e2d8c5e78dad73f394d3dd49d 100644 (file)
@@ -578,7 +578,7 @@ x264_t *x264_encoder_open   ( x264_param_t *param )
 
     h->fdec = h->frames.reference[0];
 
-    if( x264_macroblock_cache_init( h ) < 0 );
+    if( x264_macroblock_cache_init( h ) < 0 )
         return NULL;
     x264_rdo_init( );