fftools/ffprobe: prefer fd over pipe for seek support

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
pull/388/head
Zhao Zhili 2 years ago
parent c926140558
commit 244f3cfbe3
  1. 4
      fftools/ffprobe.c

@ -3714,7 +3714,7 @@ static void opt_input_file(void *optctx, const char *arg)
exit_program(1);
}
if (!strcmp(arg, "-"))
arg = "pipe:";
arg = "fd:";
input_filename = arg;
}
@ -3733,7 +3733,7 @@ static void opt_output_file(void *optctx, const char *arg)
exit_program(1);
}
if (!strcmp(arg, "-"))
arg = "pipe:";
arg = "fd:";
output_filename = arg;
}

Loading…
Cancel
Save