Signed-off-by: Ali Saki <3alis...@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
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".