lavfi/select: make sure avctx is set before closing it.
authorClément Bœsch <ubitux@gmail.com>
Tue, 18 Sep 2012 16:49:09 +0000 (18:49 +0200)
committerClément Bœsch <ubitux@gmail.com>
Tue, 18 Sep 2012 16:52:57 +0000 (18:52 +0200)
commitb89c16e73eef30b7ce95bd455d9b419b383d9409
treeaa53441e5736d6d20ce44b9791feb743ccd4c386
parent9e208ce6dd94596b4185a93af4aab3dcd28eb5b7
lavfi/select: make sure avctx is set before closing it.

This avoid a crash when the filter fails before config_input(),
typically with a syntax error in the next filter:
    select=gt(scene\,.4),select=fail
libavfilter/vf_select.c