| 31 | #define WHITESPACES " \n\t" |
| 32 | |
| 33 | static int link_filter(AVFilterContext *src, int srcpad, |
| 34 | AVFilterContext *dst, int dstpad, |
| 35 | AVClass *log_ctx) |
| 36 | { |
| 37 | if(avfilter_link(src, srcpad, dst, dstpad)) { |
| 38 | av_log(log_ctx, AV_LOG_ERROR, |
| 39 | "cannot create the link %s:%d -> %s:%d\n", |
| 40 | src->filter->name, srcpad, dst->filter->name, dstpad); |
| 41 | return -1; |
| 42 | } |
| 43 | |
| 44 | return 0; |
| 45 | } |
| 46 | |
| 47 | /** |
| 48 | * Parse "[linkname]" |
no test coverage detected