Re: [Flac-dev] better seeking

2006-11-03 Thread Miroslav Lichvar
On Mon, Oct 30, 2006 at 11:13:25AM -0800, Josh Coalson wrote: my apologies for not doing this before Miroslav... I will definitely integrate it this time. Thanks. Sending latest version of the patch. Now it can seek in files that have large id3 tag (or any random data) at the end and it won't

[Flac-dev] Strangeness with OggFlac files

2006-11-03 Thread Erik de Castro Lopo
Josh et al, I've been tracking down a problem with generating OggFlac files. While investigatint this issue I hacked one of the test files from the test_libFLAC directory of the flac-1.1.3-beta2. The result of this hacking is this standalone C file: http://www.mega-nerd.com/tmp/erikd_test.c

Re: [Flac-dev] better seeking

2006-11-03 Thread Miroslav Lichvar
On Fri, Nov 03, 2006 at 10:01:42AM +0100, Miroslav Lichvar wrote: Thanks. Sending latest version of the patch. Now it can seek in files that have large id3 tag (or any random data) at the end and it won't loop on streams with shuffled frames. One small patch on top of that and it's bug free.

[PATCH] Re: [Flac-dev] Strangeness with OggFlac files

2006-11-03 Thread Erik de Castro Lopo
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