[Flac-dev] flac-1.0.3_beta released

Josh Coalson
Fri, 10 Sep 2004 16:45:34 -0000

--- Joshua Haberman <joshua@haberman.com> wrote:
> 2. I was hoping that the new metadata API would mean that an encoder
> could be written without having to know *anything* about the bitwise
> layout of the stream format, but that seems not to be the case.  From
> src/flac/encode.c:
>
> ( void metadata_callback() )
>     /* all this is based on intimate knowledge of the stream header
>      * layout, but a change to the header format that would break
> this
>      * would also break all streams encoded in the previous format.
>      */
>
>     (massive bit-twiddling follows)
>
> As long as you're breaking API compatibility, why not fix this?

I pushed this out to 1.0.4.  I plan to add a FLAC__FileEncoder
and on top of that a FLAC__WAVEEncoder or something like that.

> 3. 'metadata --remove-vc-all' corrupts the target file if there is
> any
> VORBIS_COMMENT block present.  'metadata' can still read the file,
> but
> decoding errors out with FLAC__STREAM_DECODER_ERROR_LOST_SYNC.  This
> seems to be permanent corruption: no further operations, including
> removing the VORBIS_COMMENT block, will restore it.

I found this recently too.  It is fixed in CVS.  I am not
sure whether I should do a 1.0.3_beta2 but I'll take suggestions.

Josh


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup