fftools/ffmpeg_demux: prefer fd over pipe for seek support
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
@@ -883,7 +883,7 @@ int ifile_open(const OptionsContext *o, const char *filename)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!strcmp(filename, "-"))
|
if (!strcmp(filename, "-"))
|
||||||
filename = "pipe:";
|
filename = "fd:";
|
||||||
|
|
||||||
stdin_interaction &= strncmp(filename, "pipe:", 5) &&
|
stdin_interaction &= strncmp(filename, "pipe:", 5) &&
|
||||||
strcmp(filename, "fd:") &&
|
strcmp(filename, "fd:") &&
|
||||||
|
Reference in New Issue
Block a user