diff mbox series

[FFmpeg-devel,v3,5/8] fftools/ffmpeg_demux: disable stdin interaction for fd protocol

Message ID tencent_7D15508466F3A7C8AA941313DC454BBD2606@qq.com
State Accepted
Commit 195ccf7ea8ba3c6a8d919096ff84d86073f58be4
Headers show
Series [FFmpeg-devel,v3,1/8] avformat/file: add fd option for pipe | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Zhao Zhili Dec. 14, 2022, 5:10 p.m. UTC
From: Zhao Zhili <zhilizhao@tencent.com>

---
 fftools/ffmpeg_demux.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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