]> git.sesse.net Git - x264/commit
encoder_open: Fix memory leak
authorHenrik Gramner <henrik@gramner.com>
Fri, 30 Oct 2015 15:55:49 +0000 (16:55 +0100)
committerHenrik Gramner <henrik@gramner.com>
Sun, 3 Jan 2016 16:15:47 +0000 (17:15 +0100)
commit5c6570495f8f1c716b294aee1430d8766a4beb9c
tree38e42f484ad2a5950323d08e0ab05e067c0ae07e
parent424534537a249dcf913e02560303f6afca423489
encoder_open: Fix memory leak

Furthermore, the x264_analyse_prepare_costs() and x264_analyse_init_costs()
functions were only used in x264_encoder_open(), so move that entire section
of code to analyse.c as well to simplify things.
encoder/analyse.c
encoder/analyse.h
encoder/encoder.c