From 11de51977d28b9ff242aa137f9c270b0f1b3f465 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Thu, 31 Mar 2005 05:59:11 +0000 Subject: [PATCH] free() -> x264_free() git-svn-id: svn://svn.videolan.org/x264/trunk@182 df754926-b1dd-0310-bc7b-ec298dee348c --- encoder/encoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/encoder/encoder.c b/encoder/encoder.c index 68b66a9b..391e22cd 100644 --- a/encoder/encoder.c +++ b/encoder/encoder.c @@ -357,7 +357,7 @@ x264_t *x264_encoder_open ( x264_param_t *param ) { x264_log( h, X264_LOG_ERROR, "invalid width x height (%dx%d)\n", param->i_width, param->i_height ); - free( h ); + x264_free( h ); return NULL; } @@ -365,13 +365,13 @@ x264_t *x264_encoder_open ( x264_param_t *param ) { x264_log( h, X264_LOG_ERROR, "width %% 16 != 0 or height %% 16 != 0 (%dx%d)\n", param->i_width, param->i_height ); - free( h ); + x264_free( h ); return NULL; } if( param->i_csp != X264_CSP_I420 ) { x264_log( h, X264_LOG_ERROR, "invalid CSP (only I420 supported)\n" ); - free( h ); + x264_free( h ); return NULL; } -- 2.47.3