summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-10-24 22:32:40 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-10-24 22:32:40 +0000
commitb551204a96cb5b525d19082aba215320f9ad6dc7 (patch)
tree06e3e65b8072ec8088cd11560ce9ad6cfe41f805 /ffmpeg.c
parentcc044c1cc02c375fdb8f5446c656924a7362103e (diff)
stdin detection fix
Originally committed as revision 3633 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 02081273ee..3b8a274d44 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2766,7 +2766,7 @@ static void opt_input_file(const char *filename)
if (!strcmp(filename, "-"))
filename = "pipe:";
- using_stdin |= !strcmp(filename, "pipe:" ) ||
+ using_stdin |= !strncmp(filename, "pipe:", 5) ||
!strcmp( filename, "/dev/stdin" );
/* get default parameters from command line */