Commit b551204a authored by Michael Niedermayer's avatar Michael Niedermayer

stdin detection fix

Originally committed as revision 3633 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent cc044c1c
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment