avconv: make sure the filtergraph is freed on init failure

Multimedia / Libav - Anton Khirnov [khirnov.net] - 2 October 2016 04:41 UTC

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).

f6772e9 avconv: make sure the filtergraph is freed on init failure
avconv_filter.c | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)

Upstream: git.libav.org


  • Share