[Ffmpeg-devel] FLAC encoder

Luca Barbato lu_zero
Sun May 28 10:35:48 CEST 2006

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


nr = wavfile_read_samples(wf, wav, s->block_size); <- the samples aren't
    while(nr > 0) {
        s->block_size = nr;
        fs = flake_encode_frame(s, frame, wav); <- it just copies it
						    from 16 to 32 bit
Not sure if you put a le2me_16 in a place I didn't find but
wavfile_read_samples doesn't look good.


    return fread(buffer, wf->blocksize, samples, wf->fp);

Did I miss something? on little endian it nears wavpack as compression
(when you use long samples) btw, definitely a quite good result.



Luca Barbato

Gentoo/linux Gentoo/PPC

More information about the ffmpeg-devel mailing list