[xiph-commits] r11656 - trunk/theora/examples
j at svn.xiph.org
j at svn.xiph.org
Mon Jun 26 11:00:55 PDT 2006
Author: j
Date: 2006-06-26 11:00:52 -0700 (Mon, 26 Jun 2006)
New Revision: 11656
Modified:
trunk/theora/examples/dump_video.c
Log:
The following patch fixes the dump_video example to build with C89 compilers.
thanks jensgr at gmx.net
fixes: 942
Modified: trunk/theora/examples/dump_video.c
===================================================================
--- trunk/theora/examples/dump_video.c 2006-06-25 22:45:49 UTC (rev 11655)
+++ trunk/theora/examples/dump_video.c 2006-06-26 18:00:52 UTC (rev 11656)
@@ -162,15 +162,15 @@
int long_option_index;
int c;
- FILE *infile = stdin;
- outfile = stdout;
-
struct timeval start;
struct timeval after;
struct timeval last;
int fps_only=0;
int frames=0;
+ FILE *infile = stdin;
+ outfile = stdout;
+
#ifdef _WIN32 /* We need to set stdin/stdout to binary mode on windows. */
/* Beware the evil ifdef. We avoid these where we can, but this one we
cannot. Don't add any more, you'll probably go to hell if you do. */
More information about the commits
mailing list