Commit 7e7245b5 authored by michael's avatar michael

stdin detection fix


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3633 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9430e714
......@@ -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