Commit debfa167 authored by bellard's avatar bellard

'-' can be used for standard input


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1232 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ffaf8173
......@@ -1815,6 +1815,9 @@ void opt_input_file(const char *filename)
AVFormatParameters params, *ap = &params;
int err, i, ret, rfps;
if (!strcmp(filename, "-"))
filename = "pipe:";
/* get default parameters from command line */
memset(ap, 0, sizeof(*ap));
ap->sample_rate = audio_sample_rate;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment