From e8d83e1c261b878a7491fd2aa5031b9d8f49e31c Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Fri, 29 Aug 2003 20:22:16 +0000
Subject: [PATCH] Small Patch for "ffplay -" instead of "ffplay pipe:" by (Bill
 Eldridge <bill at rfa dot org>)

Originally committed as revision 2181 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 ffplay.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ffplay.c b/ffplay.c
index 5972a5bd2e0..f340153f803 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;
 }
 
-- 
GitLab