[FFmpeg-cvslog] fftools/ffmpeg_demux: disable stdin interaction for fd protocol

Zhao Zhili git at videolan.org
Wed Jan 11 05:06:36 EET 2023


ffmpeg | branch: master | Zhao Zhili <zhilizhao at tencent.com> | Thu Dec 15 01:10:11 2022 +0800| [195ccf7ea8ba3c6a8d919096ff84d86073f58be4] | committer: Zhao Zhili

fftools/ffmpeg_demux: disable stdin interaction for fd protocol

Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=195ccf7ea8ba3c6a8d919096ff84d86073f58be4
---

 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 */



More information about the ffmpeg-cvslog mailing list