Erik de Castro Lopo wrote:

> Josh et al,
> 
> I've been tracking down a problem with generating OggFlac files.

<snip>

> I have looked into this and suspect that the FLAC__stream_encoder_finish()
> function needs to finish off the stream using a call to ogg_stream_flush()
> instead of the standard function ogg_stream_pageout().

I bashed on this a bit further and came up with the following patch:

    http://www.mega-nerd.com/tmp/flac-end_of_stream.diff

There's probably a more tasteful way of acheiving the same result, but
this version does fix the problem.

Cheers,
Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
"Capitalism is an art form, an Apollonian fabrication to rival nature.
It is hypocritical for feminists and intellectuals to enjoy the pleasures
and conveniences of capitalism while sneering at it. Everyone born into
capitalism has incurred a debt to it."
-- Camille Paglia
_______________________________________________
Flac-dev mailing list
Flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to