From 244f3cfbe396a16490647758b8ecd14837beb040 Mon Sep 17 00:00:00 2001 From: Zhao Zhili Date: Thu, 15 Dec 2022 01:10:13 +0800 Subject: [PATCH] fftools/ffprobe: prefer fd over pipe for seek support Signed-off-by: Zhao Zhili --- fftools/ffprobe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index d2f126d9d6..c18aee9846 100644 --- a/fftools/ffprobe.c +++ b/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; }