[PATCH] Re: [Flac-dev] Strangeness with OggFlac files
xflac at yahoo.com
Thu Nov 9 10:23:51 PST 2006
ok, last night I checked in changes that I think should totally fix
before, the process routines would encode a frame as soon as it
got a complete block. so it could not really tell when it had
reached the end of the input and would rely on the total samples
estimate to set the EOS flag. but this is bad because it is an
estimate and sometimes even unknown.
so now the process routines 'overread' by one sample, i.e. wait until
there is one more sample than a complete block before encoding it.
the last block is handled by FLAC__stream_encoder_finish()
Check out Yahoo! Messenger's low PC-to-Phone call rates.
More information about the Flac-dev