summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Zhili <zhilizhao@tencent.com>2022-12-15 01:10:11 +0800
committerZhao Zhili <zhilizhao@tencent.com>2023-01-11 18:50:36 +0800
commit195ccf7ea8ba3c6a8d919096ff84d86073f58be4 (patch)
tree1c1013734408221907bca2629ea50adbf78fe079
parent6e7c006e4047c319e9330106c16f29a9b81e22e6 (diff)
fftools/ffmpeg_demux: disable stdin interaction for fd protocol
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
-rw-r--r--fftools/ffmpeg_demux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c
index e845e6784d..be0e8970ba 100644
--- a/fftools/ffmpeg_demux.c
+++ b/fftools/ffmpeg_demux.c
@@ -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 */