Revision 912dd63e ffprobe.c

View differences:

ffprobe.c
288 288
    }
289 289
}
290 290

  
291
static void opt_input_file(const char *filename)
291
static void opt_input_file(const char *arg)
292 292
{
293 293
    if (input_filename) {
294
        fprintf(stderr, "Input filename already specified: %s\n", filename);
294
        fprintf(stderr, "Input filename already specified: %s\n", arg);
295 295
        exit(1);
296 296
    }
297
    if (!strcmp(filename, "-"))
298
        filename = "pipe:";
299
    input_filename = filename;
297
    if (!strcmp(arg, "-"))
298
        arg = "pipe:";
299
    input_filename = arg;
300 300
}
301 301

  
302 302
static void show_help(void)

Also available in: Unified diff