mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 05:50:43 +00:00
stdin detection fix
Originally committed as revision 3633 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
cc044c1cc0
commit
b551204a96
2
ffmpeg.c
2
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user