static AVFilterContext *create_filter_with_args(const char *filt, void *opaque)
{
    AVFilterContext *ret;
    char *filter = av_strdup(filt); /* copy - don't mangle the input string */
    char *name, *args;
    name = filter;
    if((args = strchr(filter, '='))) {
        /* ensure we at least have a name */
        if(args == filter)
            goto fail;
        *args ++ = 0;
    }
    av_log(NULL, AV_LOG_INFO, "creating filter \"%s\" with args \"%s\"\n",
           name, args ? args : "(none)");
    if((ret = avfilter_create_by_name(name, NULL))) {
        if(avfilter_init_filter(ret, args, opaque)) {
            av_log(NULL, AV_LOG_ERROR, "error initializing filter!\n");
            avfilter_destroy(ret);
            goto fail;
        }
    } else av_log(NULL, AV_LOG_ERROR, "error creating filter!\n");
    return ret;
fail:
    return NULL;
}
static AVFilterContext *create_filter_with_args(const char *filt, void *opaque)
{
    AVFilterContext *ret;
    char *filter = av_strdup(filt); 
    char *name, *args;
    name = filter;
    if((args = strchr(filter, '='))) {
        
        if(args == filter)
            goto fail;
        *args ++ = 0;
    }
    av_log(NULL, AV_LOG_INFO, "creating filter \"%s\" with args \"%s\"\n",
           name, args ? args : "(none)");
    if((ret = avfilter_create_by_name(name, NULL))) {
        if(avfilter_init_filter(ret, args, opaque)) {
            av_log(NULL, AV_LOG_ERROR, "error initializing filter!\n");
            avfilter_destroy(ret);
            goto fail;
        }
    } else av_log(NULL, AV_LOG_ERROR, "error creating filter!\n");
    return ret;
fail:
    return NULL;
}
static AVFilterContext *FUNC_0(const char *filt, void *opaque)
{
    AVFilterContext *ret;
    char *VAR_0 = av_strdup(filt); 
    char *VAR_1, *VAR_2;
    VAR_1 = VAR_0;
    if((VAR_2 = strchr(VAR_0, '='))) {
        
        if(VAR_2 == VAR_0)
            goto fail;
        *VAR_2 ++ = 0;
    }
    av_log(NULL, AV_LOG_INFO, "creating VAR_0 \"%s\" with VAR_2 \"%s\"\n",
           VAR_1, VAR_2 ? VAR_2 : "(none)");
    if((ret = avfilter_create_by_name(VAR_1, NULL))) {
        if(avfilter_init_filter(ret, VAR_2, opaque)) {
            av_log(NULL, AV_LOG_ERROR, "error initializing VAR_0!\n");
            avfilter_destroy(ret);
            goto fail;
        }
    } else av_log(NULL, AV_LOG_ERROR, "error creating VAR_0!\n");
    return ret;
fail:
    return NULL;
}
static AVFilterContext *FUNC_0(const char *filt, void *opaque)
{ AVFilterContext *ret; char *VAR_0 = av_strdup(filt); char *VAR_1, *VAR_2; VAR_1 = VAR_0; if((VAR_2 = strchr(VAR_0, '='))) { if(VAR_2 == VAR_0)
goto fail; *VAR_2 ++ = 0; } av_log(NULL, AV_LOG_INFO, "creating VAR_0 \"%s\" with VAR_2 \"%s\"\n",
VAR_1, VAR_2 ? VAR_2 : "(none)"); if((ret = avfilter_create_by_name(VAR_1, NULL))) { if(avfilter_init_filter(ret, VAR_2, opaque)) { av_log(NULL, AV_LOG_ERROR, "error initializing VAR_0!\n"); avfilter_destroy(ret); goto fail; } } else av_log(NULL, AV_LOG_ERROR, "error creating VAR_0!\n"); return ret; fail:
return NULL; }