diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-31 02:56:56 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-31 02:56:56 +0200 |
commit | 3b275ce3747a311b05d78eaba41798145164a4d4 (patch) | |
tree | c7dde35b3cb2cfb8c0b1c2d1f7c62483656b4fc9 /tests | |
parent | 0dfcd7e7e37e70347285dae9a0ad8ec3ef0f93d2 (diff) | |
download | ffmpeg-3b275ce3747a311b05d78eaba41798145164a4d4.tar.gz |
fate: dont freopen() stdout
it doesnt work and breaks most BSDs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rotozoom.c | 4 | ||||
-rw-r--r-- | tests/videogen.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/rotozoom.c b/tests/rotozoom.c index 296ab701f5..6604d92077 100644 --- a/tests/rotozoom.c +++ b/tests/rotozoom.c @@ -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; diff --git a/tests/videogen.c b/tests/videogen.c index aa4b767ded..396c1e8fe6 100644 --- a/tests/videogen.c +++ b/tests/videogen.c @@ -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; |