mirror of https://git.ffmpeg.org/ffmpeg.git
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:";
|
filename = "pipe:";
|
||||||
|
|
||||||
stdin_interaction &= strncmp(filename, "pipe:", 5) &&
|
stdin_interaction &= strncmp(filename, "pipe:", 5) &&
|
||||||
|
strcmp(filename, "fd:") &&
|
||||||
strcmp(filename, "/dev/stdin");
|
strcmp(filename, "/dev/stdin");
|
||||||
|
|
||||||
/* get default parameters from command line */
|
/* get default parameters from command line */
|
||||||
|
|
Loading…
Reference in New Issue