int avfilter_process_command(AVFilterContext *filter, const char *cmd, const char *arg, char *res, int res_len, int flags)
{
    if(!strcmp(cmd, "ping")){
        av_strlcatf(res, res_len, "pong from:%s %s\n", filter->filter->name, filter->name);
        return 0;
    }else if(!strcmp(cmd, "enable")) {
        return set_enable_expr(filter, arg);
    }else if(filter->filter->process_command) {
        return filter->filter->process_command(filter, cmd, arg, res, res_len, flags);
    return AVERROR(ENOSYS);
int avfilter_process_command(AVFilterContext *filter, const char *cmd, const char *arg, char *res, int res_len, int flags)
{
    if(!strcmp(cmd, "ping")){
        av_strlcatf(res, res_len, "pong from:%s %s\n", filter->filter->name, filter->name);
        return 0;
    }else if(!strcmp(cmd, "enable")) {
        return set_enable_expr(filter, arg);
    }else if(filter->filter->process_command) {
        return filter->filter->process_command(filter, cmd, arg, res, res_len, flags);
    return AVERROR(ENOSYS);
int FUNC_0(AVFilterContext *VAR_0, const char *VAR_1, const char *VAR_2, char *VAR_3, int VAR_4, int VAR_5)
{
    if(!strcmp(VAR_1, "ping")){
        av_strlcatf(VAR_3, VAR_4, "pong from:%s %s\n", VAR_0->VAR_0->name, VAR_0->name);
        return 0;
    }else if(!strcmp(VAR_1, "enable")) {
        return set_enable_expr(VAR_0, VAR_2);
    }else if(VAR_0->VAR_0->process_command) {
        return VAR_0->VAR_0->process_command(VAR_0, VAR_1, VAR_2, VAR_3, VAR_4, VAR_5);
    return AVERROR(ENOSYS);
int FUNC_0(AVFilterContext *VAR_0, const char *VAR_1, const char *VAR_2, char *VAR_3, int VAR_4, int VAR_5)
{ if(!strcmp(VAR_1, "ping")){ av_strlcatf(VAR_3, VAR_4, "pong from:%s %s\n", VAR_0->VAR_0->name, VAR_0->name); return 0; }else if(!strcmp(VAR_1, "enable")) { return set_enable_expr(VAR_0, VAR_2); }else if(VAR_0->VAR_0->process_command) { return VAR_0->VAR_0->process_command(VAR_0, VAR_1, VAR_2, VAR_3, VAR_4, VAR_5); return AVERROR(ENOSYS);