graphparser: add missing NULL check in avfilter_graph_parse()
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 18 Jun 2011 00:02:31 +0000 (02:02 +0200)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 18 Jun 2011 00:08:38 +0000 (02:08 +0200)
commit8055433b492fe971a145a07470119ef8c2c71571
tree023d3081eee485a89d9675c544086c1232f05aba
parent369c68c4e121d9f883e240604050daf7fac1b870
graphparser: add missing NULL check in avfilter_graph_parse()

Fix a crash occurring when open_inputs is NULL and *open_inputs is
checked, the crash was introduced by the recent avfilter_graph_parse()
syntax change.

In particular, fix graph2dot crash.
libavfilter/graphparser.c