mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
fix c99 build failed.
This commit is contained in:
parent
858951da49
commit
b6bb3f2446
1 changed files with 3 additions and 2 deletions
|
@ -45,14 +45,15 @@ int main(int argc, char** argv)
|
|||
exit(-1);
|
||||
}
|
||||
|
||||
for (int opt = 0; opt < argc; opt++) {
|
||||
int opt;
|
||||
for (opt = 0; opt < argc; opt++) {
|
||||
srs_human_trace("The argv[%d]=%s", opt, argv[opt]);
|
||||
}
|
||||
|
||||
// fill the options for mac
|
||||
char* in_file = NULL;
|
||||
char* out_rtmp_url = NULL;
|
||||
for (int opt = 0; opt < argc - 1; opt++) {
|
||||
for (opt = 0; opt < argc - 1; opt++) {
|
||||
// ignore all options except -i and -y.
|
||||
char* p = argv[opt];
|
||||
|
||||
|
|
Loading…
Reference in a new issue