[vorbis-dev] CVS, etc...

Jeff Smith whydoubt at hotmail.com
Fri Mar 2 08:40:54 PST 2001



  I realized the same changes needed to be made to OggDrop's audio.c file.  
The reasoning is the same, of course: a slightly different interpretation of 
the WAV format specs for vanilla, uncompressed WAVs.
  I still need to know how you want the diffs/patches sent, and if I need to 
resend the two diffs in that format.  Here is the straight diff for 
OggDrop's audio.c:

24c24
<       (((buf)[3]<<24)|((buf)[2]<<16)|((buf)[1]<<8)|((buf)[0]&0xff));

---
>       (((buf)[3]<<24)|((buf)[2]<<16)|((buf)[1]<<8)|((buf)[0]&0xff))
27c27
<       (((buf)[1]<<8)|((buf)[0]&0xff));
---
>       (((buf)[1]<<8)|((buf)[0]&0xff))
71c71
<       unsigned char buf[16];
---
>       unsigned char buf[18];
94c94
<       if(len!=16)
---
>       if((len!=16)&&(len!=18))
100c100
<       if(fread(buf,1,16,in) < 16)
---
>       if(fread(buf,1,len,in) < len)
111a112,115
>       if((len==18)&&(READ_U16(buf+16)!=0)) {
>               fprintf(stderr, "Warning: Unrecognised format chunk in WAV 
>header\n");
>               return 0; /* Weird format chunk */
>       }

  - Jeff Smith
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

--- >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 'vorbis-dev-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 Vorbis-dev mailing list