[xiph-cvs] cvs commit: theora/win32/experimental/transcoder/avi2vp3 avi2vp3.c

Ralph Giles giles at xiph.org
Fri Mar 19 15:53:17 PST 2004



giles       04/03/19 18:53:17

  Modified:    win32/experimental/transcoder/avi2vp3 avi2vp3.c
  Log:
  Compiler ifdefs to allow avi2vp3 to build on non-windows platforms.

Revision  Changes    Path
1.2       +4 -0      theora/win32/experimental/transcoder/avi2vp3/avi2vp3.c

Index: avi2vp3.c
===================================================================
RCS file: /usr/local/cvsroot/theora/win32/experimental/transcoder/avi2vp3/avi2vp3.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- a/avi2vp3.c	26 Sep 2003 15:11:47 -0000	1.1
+++ b/avi2vp3.c	19 Mar 2004 23:53:16 -0000	1.2
@@ -1,6 +1,10 @@
 #include <stdio.h>
 #include <stdlib.h>
+#ifdef _WIN32
 #include <windows.h>
+#else
+typedef long DWORD;
+#endif
 
 /*extremely crude app to dump vp3 frames from an avi file*/
 /*filenames are hardcoded*/

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list