Small Patch for "ffplay -" instead of "ffplay pipe:" by (Bill Eldridge <bill at rfa...
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 29 Aug 2003 20:22:16 +0000 (20:22 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 29 Aug 2003 20:22:16 +0000 (20:22 +0000)
Originally committed as revision 2181 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffplay.c

index 5972a5b..f340153 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -1660,6 +1660,8 @@ void show_help(void)
 
 void parse_arg_file(const char *filename)
 {
+    if (!strcmp(filename, "-"))
+                    filename = "pipe:";
     input_filename = filename;
 }