Commited in SoC by Vitor Sessak on 2008-04-06 19:02:56
Originally committed as revision 13297 to svn://svn.ffmpeg.org/ffmpeg/trunk
if(*in) in++;
break;
case 0:
- case ')':
- case '(':
+ case ']':
+ case '[':
case '=':
case ',':
*out++= 0;
if (!*name[0])
goto fail;
- if (*(*buf)++ != ')')
+ if (*(*buf)++ != ']')
goto fail;
return;
enum LinkType type, AVFilterContext *filter)
{
int pad = firstpad;
- while (**buf == '(') {
+ while (**buf == '[') {
AVFilterInOut *inoutn = av_malloc(sizeof(AVFilterInOut));
parse_link_name(buf, &inoutn->name);
inoutn->type = type;
static const char *skip_inouts(const char *buf)
{
- while (*buf == '(') {
- buf += strcspn(buf, ")");
+ while (*buf == '[') {
+ buf += strcspn(buf, "]");
buf++;
}
return buf;
* @param inpad pad index of the output
* @return zero on success, -1 on error
*/
-int avfilter_graph_parse_chain(AVFilterGraph *graph, const char *filters, AVFilterContext *in, int inpad, AVFilterContext *out, int outpad);
+int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, AVFilterContext *in, int inpad, AVFilterContext *out, int outpad);
#endif /* FFMPEG_GRAPHPARSER_H */