fftools/ffmpeg_demux: disable stdin interaction for fd protocol

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
Zhao Zhili 2022-12-15 01:10:11 +08:00
parent 6e7c006e40
commit 195ccf7ea8
1 changed files with 1 additions and 0 deletions

View File

@ -886,6 +886,7 @@ int ifile_open(const OptionsContext *o, const char *filename)
filename = "pipe:";
stdin_interaction &= strncmp(filename, "pipe:", 5) &&
strcmp(filename, "fd:") &&
strcmp(filename, "/dev/stdin");
/* get default parameters from command line */