[Ffmpeg-devel] FLAC encoder

Justin Ruggles jruggle
Sun May 28 15:39:56 CEST 2006


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.

Thanks,
-Justin




More information about the ffmpeg-devel mailing list