diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-10-24 22:32:40 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-10-24 22:32:40 +0000 |
commit | b551204a96cb5b525d19082aba215320f9ad6dc7 (patch) | |
tree | 06e3e65b8072ec8088cd11560ce9ad6cfe41f805 /ffmpeg.c | |
parent | cc044c1cc02c375fdb8f5446c656924a7362103e (diff) | |
download | ffmpeg-b551204a96cb5b525d19082aba215320f9ad6dc7.tar.gz |
stdin detection fix
Originally committed as revision 3633 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |