[xiph-cvs] cvs commit: vorbis-tools/oggenc audio.c

Michael Smith msmith at xiph.org
Sun Jan 19 15:04:24 PST 2003



msmith      03/01/19 18:04:24

  Modified:    oggenc   audio.c
  Log:
  Fix endianness in AIFF input

Revision  Changes    Path
1.31      +2 -0      vorbis-tools/oggenc/audio.c

Index: audio.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/oggenc/audio.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- audio.c	18 Jan 2003 14:37:21 -0000	1.30
+++ audio.c	19 Jan 2003 23:04:24 -0000	1.31
@@ -250,6 +250,8 @@
         format.samplesize = READ_U16_BE(buffer+6);
         format.rate = (int)read_IEEE80(buffer+8);
 
+    aiff->bigendian = 1;
+
         if(aifc)
         {
                 if(len < 22)

<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