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/videogen.c | |
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/videogen.c')
-rw-r--r-- | tests/videogen.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |