mirror of https://git.ffmpeg.org/ffmpeg.git
fftools/ffmpeg_demux: prefer fd over pipe for seek support
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
parent
244f3cfbe3
commit
52eb2396d7
|
@ -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:") &&
|
||||
|
|
Loading…
Reference in New Issue