fftools/ffprobe: prefer fd over pipe for seek support

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
Zhao Zhili 2022-12-15 01:10:13 +08:00
parent c926140558
commit 244f3cfbe3
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}