mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
fftools/ffmpeg_demux: disable stdin interaction for fd protocol
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
parent
6e7c006e40
commit
195ccf7ea8
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user