search for: flac__bitbuffer_get_buff

Displaying 1 result from an estimated 1 matches for "flac__bitbuffer_get_buff".

2006 Nov 04
2
amd64 issue with flac-1.1.3 beta2
..."", 47747151429632) = 199596 write(4, "", 47747151230036) = -1 EFAULT (Bad address) write(2, "\nfoo.wav: ERROR during encoding\n", 32 foo.wav: ERROR during encoding The final write is getting a bogus size. 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...