[Ffmpeg-devel] FLAC encoder

Luca Barbato lu_zero
Mon May 29 02:04:58 CEST 2006


Justin Ruggles wrote:
> Luca Barbato wrote:
>> Justin Ruggles wrote:
>>
>>> Are you referring to the WAV decoder or is there something in the FLAC
>>> code that has endian issues?
>>
>> what I've fount so far
>>
>> flake.c:130
>>
>> nr = wavfile_read_samples(wf, wav, s->block_size); <- the samples aren't
>> 							swapped.
> 
> I put in simple endian detection & 16-bit array byte-swap in the newest
> version.  I hope it works though.  I have no big-endian machine to test
> it on.  I did test doing 2 byte swaps on my little-endian machine and it
> seems to work ok.

the output is noise as before (100%identical result)

lu

-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero





More information about the ffmpeg-devel mailing list