summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-08-29 20:22:16 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-08-29 20:22:16 +0000
commite8d83e1c261b878a7491fd2aa5031b9d8f49e31c (patch)
treef604ca6043f43612ce2212a83a9319f2e2fd04dd /ffplay.c
parent12dccd4e60b6b7f1c2a3d51717ea5718a1cd3756 (diff)
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
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;
}