]> git.sesse.net Git - ffmpeg/commit
graphparser: simplify condition in avfilter_graph_parse()
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 2 Jul 2011 13:37:32 +0000 (15:37 +0200)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 10 Jul 2011 16:00:50 +0000 (18:00 +0200)
commit2420763638bef385c8116a44ff5c0d2c15589494
tree869af44d1dcc2349f7e70a208c74064af1e7e55f
parent2f56a97f2488146f209de415e3338f7e597c5719
graphparser: simplify condition in avfilter_graph_parse()

Since avfilter_graph_parse() creates the "[in]" inout for the first
unlabelled input pad, it is expected that it will create an "[out]"
inout for last unlabelled output pad, even in the case where it cannot
find any open input pad with that name.

This change removes the check on the existence of an open input pad
named "out", so it simplifies the checked condition while implementing
a more intuitive behavior.
libavfilter/avfilter.h
libavfilter/graphparser.c