hi greg,

On Sun, Nov 04, 2007 at 01:26:13PM -0800, Gregory Sharp wrote:
> Hi,  I'm just forwarding the below report about 64 bit
> problems with id3, in case it is relevant.  

as it stands, Chris is indeed using amd64, Chris: could you confirm that the
attached patch fixes this problem for you?

> > Hi,
> > Looks like ID3V2 tags a malformed on 64-bit systems.
> > 
> > A simple problem, unsigned long's are 64 bits so the tag
> > length field is written incorrectly.
> > 
> > -Max
> > 
> > diff -aur streamripper-1.62.3.ori/lib/ripstream.c
> > streamripper-1.62.3/lib/ripstream.c
> > --- streamripper-1.62.3.ori/lib/ripstream.c     2007-05-13
> > 14:59:26.000000000 -0500
> > +++ streamripper-1.62.3/lib/ripstream.c 2007-10-06
> > 16:18:34.000000000 -0500
> > @@ -674,7 +674,11 @@
> >         char header1[6] = "ID3\x03\0\0";
> >         ID3V2frame id3v2frame;
> >         char comment[1024] = "Ripped with Streamripper";
> > +#ifndef WIN32
> > +       __uint32_t framesize = 0;
> > +#else
> >         unsigned long int framesize = 0;
> > +#endif
> >         int sent = 0;
> >         int id3_charset;

bye,
    - michael



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to