fate: dont freopen() stdout
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 31 May 2012 00:56:56 +0000 (02:56 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 31 May 2012 00:56:56 +0000 (02:56 +0200)
it doesnt work and breaks most BSDs

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tests/rotozoom.c
tests/videogen.c

index 296ab70..6604d92 100644 (file)
@@ -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;
index aa4b767..396c1e8 100644 (file)
@@ -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;