[vlc-commits] mmal/deinterlace: Remove double pool allocation
Julian Scheel
git at videolan.org
Thu Sep 4 18:22:25 CEST 2014
vlc | branch: master | Julian Scheel <julian at jusst.de> | Thu Sep 4 12:55:10 2014 +0200| [dbd4c27405bf4d3af5d5b958216ac6a722c9f366] | committer: Jean-Baptiste Kempf
mmal/deinterlace: Remove double pool allocation
The mmal buffer pool was allocated twice by accident, which caused a leak of
the first one being allocated.
Signed-off-by: Julian Scheel <julian at jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dbd4c27405bf4d3af5d5b958216ac6a722c9f366
---
modules/hw/mmal/deinterlace.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/hw/mmal/deinterlace.c b/modules/hw/mmal/deinterlace.c
index 7e5d447..8b3dba5 100644
--- a/modules/hw/mmal/deinterlace.c
+++ b/modules/hw/mmal/deinterlace.c
@@ -259,7 +259,6 @@ static int Open(filter_t *filter)
goto out;
}
- sys->output_pool = mmal_pool_create(sys->output->buffer_num, 0);
sys->output_pool = mmal_pool_create_with_allocator(sys->output->buffer_num,
sys->output->buffer_size, sys->output,
(mmal_pool_allocator_alloc_t)mmal_port_payload_alloc,
More information about the vlc-commits
mailing list