avconv: make sure the filtergraph is freed on init failure
authorAnton Khirnov <anton@khirnov.net>
Sat, 1 Oct 2016 15:06:25 +0000 (17:06 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 2 Oct 2016 09:41:45 +0000 (11:41 +0200)
commitf6772e9bf8251d3943f52f6f34d97d2ce6c4b8af
tree0bff72c98a5f12319bf1138aad533f5298886ab4
parentd10102d23c9467d4eb84f58e0cd12be284b982f6
avconv: make sure the filtergraph is freed on init failure

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