[FFmpeg-cvslog] fate: dont freopen() stdout
Michael Niedermayer
git at videolan.org
Thu May 31 03:14:50 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu May 31 02:56:56 2012 +0200| [3b275ce3747a311b05d78eaba41798145164a4d4] | committer: Michael Niedermayer
fate: dont freopen() stdout
it doesnt work and breaks most BSDs
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3b275ce3747a311b05d78eaba41798145164a4d4
---
tests/rotozoom.c | 4 ++--
tests/videogen.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/rotozoom.c b/tests/rotozoom.c
index 296ab70..6604d92 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 aa4b767..396c1e8 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;
More information about the ffmpeg-cvslog
mailing list