[FFmpeg-devel] [PATCH v3 5/8] fftools/ffmpeg_demux: disable stdin interaction for fd protocol
Zhao Zhili
quinkblack at foxmail.com
Wed Dec 14 19:10:11 EET 2022
From: Zhao Zhili <zhilizhao at tencent.com>
---
fftools/ffmpeg_demux.c | 1 +
1 file changed, 1 insertion(+)
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 */
--
2.25.1
More information about the ffmpeg-devel
mailing list