[xiph-cvs] cvs commit: theora/examples encoder_example.c player_example.c

Ralph Giles giles at xiph.org
Sat Mar 6 23:51:29 PST 2004



giles       04/03/07 02:51:29

  Modified:    examples encoder_example.c player_example.c
  Log:
  Correct a warning.

Revision  Changes    Path
1.27      +5 -2      theora/examples/encoder_example.c

Index: encoder_example.c
===================================================================
RCS file: /usr/local/cvsroot/theora/examples/encoder_example.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- encoder_example.c	26 Sep 2003 15:03:48 -0000	1.26
+++ encoder_example.c	7 Mar 2004 07:51:28 -0000	1.27
@@ -12,16 +12,19 @@
 
   function: example encoder application; makes an Ogg Theora/Vorbis
             file from YUV4MPEG2 and WAV input
-  last mod: $Id: encoder_example.c,v 1.26 2003/09/26 15:03:48 tterribe Exp $
+  last mod: $Id: encoder_example.c,v 1.27 2004/03/07 07:51:28 giles Exp $
 
  ********************************************************************/
 
 #define _GNU_SOURCE
-#define _REENTRANT
 #define _LARGEFILE_SOURCE
 #define _LARGEFILE64_SOURCE
 #define _FILE_OFFSET_BITS 64
 
+#ifndef _REENTRANT
+# define _REENTRANT
+#endif
+
 #include <stdio.h>
 #include <unistd.h>
 #include <stdlib.h>

<p><p>1.28      +5 -2      theora/examples/player_example.c

Index: player_example.c
===================================================================
RCS file: /usr/local/cvsroot/theora/examples/player_example.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- player_example.c	29 Sep 2003 13:43:32 -0000	1.27
+++ player_example.c	7 Mar 2004 07:51:28 -0000	1.28
@@ -12,7 +12,7 @@
 
   function: example SDL player application; plays Ogg Theora files (with
             optional Vorbis audio second stream)
-  last mod: $Id: player_example.c,v 1.27 2003/09/29 13:43:32 giles Exp $
+  last mod: $Id: player_example.c,v 1.28 2004/03/07 07:51:28 giles Exp $
 
  ********************************************************************/
 
@@ -26,11 +26,14 @@
    it's true. */
 
 #define _GNU_SOURCE
-#define _REENTRANT
 #define _LARGEFILE_SOURCE
 #define _LARGEFILE64_SOURCE
 #define _FILE_OFFSET_BITS 64
 
+#ifndef _REENTRANT
+# define _REENTRANT
+#endif
+
 #include <stdio.h>
 #include <unistd.h>
 #include <stdlib.h>

<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