From: Eric Petit Date: Tue, 30 May 2006 10:05:56 +0000 (+0000) Subject: Fixed typo that caused x264_encoder_open to always fail X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=b5d08311537cf047b1720243f866264abc5150d3;p=x264.git Fixed typo that caused x264_encoder_open to always fail git-svn-id: svn://svn.videolan.org/x264/trunk@530 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/encoder/encoder.c b/encoder/encoder.c index a8955d06..e8472c3f 100644 --- a/encoder/encoder.c +++ b/encoder/encoder.c @@ -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( );