[FFmpeg-devel] [PATCH] Allow using stdin_interaction with pipe's
علی ساکی
3alisaki at gmail.com
Sun Dec 3 22:16:32 EET 2023
Signed-off-by: Ali Saki <3alisaki at gmail.com>
---
fftools/ffmpeg_demux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c
index 791952f120..00d7747c3c 100644
--- a/fftools/ffmpeg_demux.c
+++ b/fftools/ffmpeg_demux.c
@@ -1379,7 +1379,7 @@ int ifile_open(const OptionsContext *o, const char
*filename)
if (!strcmp(filename, "-"))
filename = "fd:";
- stdin_interaction &= strncmp(filename, "pipe:", 5) &&
+ stdin_interaction &= strcmp(filename, "pipe:0") &&
strcmp(filename, "fd:") &&
strcmp(filename, "/dev/stdin");
-- 2.32.0.windows.1
More information about the ffmpeg-devel
mailing list