[xiph-cvs] cvs commit: ao/src/plugins/oss ao_oss.c

Chris Cheney calc at xiph.org
Sun Jan 28 20:07:38 PST 2001



calc        01/01/28 20:07:38

  Modified:    src/plugins/oss ao_oss.c
  Log:
  fixed comparison for endianess

Revision  Changes    Path
1.4       +1 -1      ao/src/plugins/oss/ao_oss.c

Index: ao_oss.c
===================================================================
RCS file: /usr/local/cvsroot/ao/src/plugins/oss/ao_oss.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ao_oss.c	2001/01/23 21:45:03	1.3
+++ ao_oss.c	2001/01/29 04:07:38	1.4
@@ -60,7 +60,7 @@
         uint_16 pattern = 0xbabe;
         unsigned char *bytewise = (unsigned char *)&pattern;
 
-	if (bytewise[0] = 0xba) return 1;
+	if (bytewise[0] == 0xba) return 1;
         return 0;
 }
 

--- >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