From 6090cf41619705e22e3950465e5b9aeecba8efcc Mon Sep 17 00:00:00 2001 From: saintdev Date: Tue, 17 Apr 2007 02:41:43 +0000 Subject: Fix a major memory leak introduced in Nyx's bframe patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@519 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/encx264.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'libhb/encx264.c') diff --git a/libhb/encx264.c b/libhb/encx264.c index e1961b5e9..e680b36d4 100644 --- a/libhb/encx264.c +++ b/libhb/encx264.c @@ -303,13 +303,6 @@ int encx264Work( hb_work_object_t * w, hb_buffer_t ** buf_in, hb_fifo_push(w->fifo_in, hb_buffer_init(0)); } } - - /* Should be way too large */ - buf = hb_buffer_init( 3 * job->width * job->height / 2 ); - buf->size = 0; - buf->start = in->start; - buf->stop = in->stop; - buf->key = 0; if (i_nal) { -- cgit v1.2.3