fate: dont freopen() stdout
it doesnt work and breaks most BSDs Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0dfcd7e7e3
commit
3b275ce374
@ -165,8 +165,8 @@ int main(int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (argc < 3)
|
||||
err_if(!freopen(NULL, "wb", stdout));
|
||||
// if (argc < 3)
|
||||
// err_if(!freopen(NULL, "wb", stdout));
|
||||
|
||||
w = DEFAULT_WIDTH;
|
||||
h = DEFAULT_HEIGHT;
|
||||
|
@ -152,8 +152,8 @@ int main(int argc, char **argv)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (argc < 2)
|
||||
err_if(!freopen(NULL, "wb", stdout));
|
||||
// if (argc < 2)
|
||||
// err_if(!freopen(NULL, "wb", stdout));
|
||||
|
||||
w = DEFAULT_WIDTH;
|
||||
h = DEFAULT_HEIGHT;
|
||||
|
Loading…
Reference in New Issue
Block a user