Revision c185fc5d libavfilter/graphparser.c

View differences:

libavfilter/graphparser.c
231 231
        }
232 232
    }
233 233

  
234

  
235 234
    if(*currInputs) {
236 235
        av_log(log_ctx, AV_LOG_ERROR,
237 236
               "Too many inputs specified for the \"%s\" filter.\n",
......
357 356
            goto fail;
358 357

  
359 358
        if(filter->input_count == 1 && !currInputs && !index) {
360
            // First input can be ommitted if it is "[in]"
359
            /* First input can be ommitted if it is "[in]" */
361 360
            const char *tmp = "[in]";
362 361
            if(parse_inputs(&tmp, &currInputs, &openLinks, log_ctx))
363 362
                goto fail;
......
382 381
    } while(chr == ',' || chr == ';');
383 382

  
384 383
    if(openLinks && !strcmp(openLinks->name, "out") && currInputs) {
385
        // Last output can be ommitted if it is "[out]"
384
        /* Last output can be ommitted if it is "[out]" */
386 385
        const char *tmp = "[out]";
387 386
        if(parse_outputs(&tmp, &currInputs, &openLinks, log_ctx) < 0)
388 387
            goto fail;

Also available in: Unified diff