fftools/ffmpeg_demux: 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:14 +08:00
parent 244f3cfbe3
commit 52eb2396d7
1 changed files with 1 additions and 1 deletions

View File

@ -883,7 +883,7 @@ int ifile_open(const OptionsContext *o, const char *filename)
}
if (!strcmp(filename, "-"))
filename = "pipe:";
filename = "fd:";
stdin_interaction &= strncmp(filename, "pipe:", 5) &&
strcmp(filename, "fd:") &&