[Flac-dev] amd64 issue with flac-1.1.3 beta2

Josh Coalson xflac at yahoo.com
Mon Nov 6 09:06:39 PST 2006


--- Miroslav Lichvar <lichvarm at phoenix.inf.upol.cz> wrote:
> On Sun, Nov 05, 2006 at 11:17:03AM +1100, David Collett wrote:
> > I think I have tracked it down to "FLAC__bitbuffer_get_buffer" in
> > bitbuffer.c taking an unsigned * for bytes, but "write_bitbuffer_"
> in
> > stream_encoder.c is passing a size_t *. On my system it looks like
> unsigned
> > is 4 bytes, where size_t is 8 bytes.
> > 
> > Changing FLAC__bitbuffer_get_buffer to take a size_t * seems to fix
> it.
> > But as I said, I only have 1 days amd64 experience, so I don't
> really
> > know what I am doing! I also havent checked if anyone else is
> calling
> > get_buffer with an unsigned * so maby this will break elseware now.
> > 
> > Has anyone else tested on amd64?
> 
> Yes, I can confirm it. There is also one missed replacement in
> FLAC__BitbufferReadCallback declaration.

ok, fixed both in CVS.

Josh




 
____________________________________________________________________________________
Sponsored Link

Get a free Motorola Razr! Today Only! 
Choose Cingular, Sprint, Verizon, Alltel, or T-Mobile. 
http://www.letstalk.com/inlink.htm?to=592913


More information about the Flac-dev mailing list