Originally committed as revision 1232 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fabrice Bellard authored on 2002/11/20 04:08:56... | ... |
@@ -1815,6 +1815,9 @@ void opt_input_file(const char *filename) |
1815 | 1815 |
AVFormatParameters params, *ap = ¶ms; |
1816 | 1816 |
int err, i, ret, rfps; |
1817 | 1817 |
|
1818 |
+ if (!strcmp(filename, "-")) |
|
1819 |
+ filename = "pipe:"; |
|
1820 |
+ |
|
1818 | 1821 |
/* get default parameters from command line */ |
1819 | 1822 |
memset(ap, 0, sizeof(*ap)); |
1820 | 1823 |
ap->sample_rate = audio_sample_rate; |