aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index 5972a5bd2e..f340153f80 100644
--- 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;
}