Revision e4637d6a

View differences:

ffmpeg.c
3985 3985
    /* parse options */
3986 3986
    parse_options(argc, argv, options, opt_output_file);
3987 3987

  
3988
    if(nb_output_files <= 0 && nb_input_files == 0)
3989
        show_help();
3990

  
3988 3991
    /* file converter / grab */
3989 3992
    if (nb_output_files <= 0) {
3990 3993
        fprintf(stderr, "At least one output file must be specified\n");
ffplay.c
2539 2539
    parse_options(argc, argv, options, opt_input_file);
2540 2540

  
2541 2541
    if (!input_filename) {
2542
        show_help();
2542 2543
        fprintf(stderr, "An input file must be specified\n");
2543 2544
        exit(1);
2544 2545
    }

Also available in: Unified diff