]> git.sesse.net Git - ffmpeg/commitdiff
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 5972a5bd2e0267974412f2d9b4a1e234eac0f377..f340153f803fb7eea56ce258ac7ba3db130fc683 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;
 }