Re: [libav-devel] [PATCH 1/2] avconv: make sure the filtergraph is freed on init failure

2016-10-01 Thread Vittorio Giovara
On Sat, Oct 1, 2016 at 3:22 PM, Anton Khirnov wrote: > The filtergraph's existence is used in several places to mean that the > filtergraph is fully configured. This causes problems if it's allocated, > but the initialization fails (e.g. if a non-existent filter is >

[libav-devel] [PATCH 1/2] avconv: make sure the filtergraph is freed on init failure

2016-10-01 Thread Anton Khirnov
The filtergraph's existence is used in several places to mean that the filtergraph is fully configured. This causes problems if it's allocated, but the initialization fails (e.g. if a non-existent filter is specified). --- avconv_filter.c | 16 ++-- 1 file changed, 10 insertions(+), 6