[flac-dev] [PATCH] metaflac : Fix local_strcat() to terminate string correctly.

2013-06-03 Thread Miroslav Lichvar
The NUL char is written at incorrect place when the destination string is longer than 0, which causes memory corruption. It was broken by commit 2d6354ff2a618a79d40edbd4f208b4b07c5422f1. --- src/metaflac/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metaflac/utils

Re: [flac-dev] Performance checks

2013-06-03 Thread Miroslav Lichvar
On Sat, Jun 01, 2013 at 02:33:55PM +0300, Janne Hyvärinen wrote: > On 1.6.2013 14:24, Janne Hyvärinen wrote: > > I can confirm. I see 10% speed improvement with that change on Core i7. > > Decoding a 1h18min38.133s long test FLAC -8 encoded file takes with > > normal asm optimizations 7.656s (speed

Re: [flac-dev] Performance checks

2013-06-03 Thread Janne Hyvärinen
On 3.6.2013 14:24, Miroslav Lichvar wrote: > On Sat, Jun 01, 2013 at 02:33:55PM +0300, Janne Hyvärinen wrote: >> On 1.6.2013 14:24, Janne Hyvärinen wrote: >>> I can confirm. I see 10% speed improvement with that change on Core i7. >>> Decoding a 1h18min38.133s long test FLAC -8 encoded file takes w

Re: [flac-dev] Performance checks

2013-06-03 Thread Janne Hyvärinen
On 3.6.2013 14:24, Miroslav Lichvar wrote: On Sat, Jun 01, 2013 at 02:33:55PM +0300, Janne Hyvärinen wrote: On 1.6.2013 14:24, Janne Hyvärinen wrote: I can confirm. I see 10% speed improvement with that change on Core i7. Decoding a 1h18min38.133s long test FLAC -8 encoded file takes with norma