diff options
author | saintdev <[email protected]> | 2007-04-17 02:41:43 +0000 |
---|---|---|
committer | saintdev <[email protected]> | 2007-04-17 02:41:43 +0000 |
commit | 6090cf41619705e22e3950465e5b9aeecba8efcc (patch) | |
tree | 70dd98aa5cf94eb905d424af841e83cff1964491 /libhb/encx264.c | |
parent | 41bcb6e41d0200a10fbcde65188270df4b39e388 (diff) |
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
Diffstat (limited to 'libhb/encx264.c')
-rw-r--r-- | libhb/encx264.c | 7 |
1 files changed, 0 insertions, 7 deletions
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) { |