Displaying 20 results from an estimated 9000 matches similar to: "/usr/include/FLAC no longer searched for headers"
2013 Jan 02
0
/usr/include/FLAC no longer searched for headers
Miroslav Lichvar wrote:
> I've received a bugreport that vlc doesn't compile with the current
> flac. The problem seems to be that it includes "stream_decoder.h"
> instead of "FLAC/stream_decoder.h". This no longer works due to the
> commit b76d4f (it was discussed on this list).
>
> I'm not sure how many clients are relying on the directory to
2013 Jan 02
1
/usr/include/FLAC no longer searched for headers
It seems the changelog.html file in the doc/html/-directory in the
flac.git has been used for that purpose, as it mentions a 1.2.2 release
without a release data
On 02-01-13 19:59, Erik de Castro Lopo wrote:
> Miroslav Lichvar wrote:
>
>> I've received a bugreport that vlc doesn't compile with the current
>> flac. The problem seems to be that it includes
2006 Nov 06
2
better seeking
ok, tried it out... passes test/test_seeking.sh and my
"xmms twitch" test, checked in to CVS. thanks!
Josh
--- Miroslav Lichvar <lichvarm@phoenix.inf.upol.cz> wrote:
> 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
2006 Nov 03
2
better seeking
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 loop on
streams with shuffled frames.
--
Miroslav Lichvar
-------------- next part
2014 Nov 25
1
Two new CVEs against FLAC
Miroslav Lichvar wrote:
> I'm trying to figure out how this one works. It seems the problem is
> integer underflow in the "frame.header.blocksize-order" expression
> used in read_subframe_fixed_() and read_subframe_lpc_() to get the
> number of encoded samples, which causes a buffer overflow in the
> LPC/fixed subframe decoding.
>
> The fix prevents that by
2014 Jun 19
5
[PATCH] stream_encoder : Improve selection of residual accumulator width
On Thu, Jun 19, 2014 at 03:30:22PM +0400, lvqcl wrote:
> BTW, what can you say about the following place in stream_decoder.c
> in read_subframe_lpc_() function:
>
> /*@@@@@@ technically not pessimistic enough, should be more like
> if( (FLAC__uint64)order * ((((FLAC__uint64)1)<<bps)-1) * ((1<<subframe->qlp_coeff_precision)-1) < (((FLAC__uint64)-1)
2015 Apr 20
2
About a comment in stream_decoder.c
I don't understand the comment in src/libFLAC/stream_decoder.c:
/*@@@@@@ technically not pessimistic enough, should be more like
if( (FLAC__uint64)order * ((((FLAC__uint64)1)<<bps)-1) * ((1<<subframe->qlp_coeff_precision)-1) < (((FLAC__uint64)-1) << 32) )
*/
if(bps + subframe->qlp_coeff_precision + FLAC__bitmath_ilog2(order) <= 32)
see
2006 Oct 28
3
better seeking
Ok, the patch from 2003 about improving seeking still didn't make it
to CVS, so here is another try.
I made some benchmarking with the test_seeking utility from flac
sources to show how bad the current seeking is, especially without
seektable. Track used for the experiment had about 50 minutes.
In the following table is average number of seeks and number of
decoded frames required for one
2004 Sep 10
3
getting framesize in client
On Fri, Nov 08, 2002 at 12:39:52PM -0800, Josh Coalson wrote:
> --- Miroslav Lichvar <lichvarm@phoenix.inf.upol.cz> wrote:
> > I have few notes:
> >
> > It seems there is changed API in CVS again. So, what about adding
> > function like
> > unsigned FLAC__format_frame_size(const FLAC__Frame *frame)
> > which returns size of the frame in bytes. This
2014 Dec 11
2
Two new CVEs against FLAC
Erik de Castro Lopo wrote:
> I think I have an alternative fix for the CVE which should not break
> seeking. I'm working on getting an copy of the file with which to test.
Patch applied and pushed.
commit b4b2910bdca010808ccf2799f55562fa91f4347b
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date: Wed Dec 10 18:54:16 2014 +1100
2013 Jun 01
2
Performance checks
On 31.5.2013 13:04, Miroslav Lichvar wrote:
> On Wed, May 29, 2013 at 04:08:57PM +0200, Martijn van Beurden wrote:
>> I was surprised to see that the Windows compile on wine actually
>> outperformed the native Linux one. Probably GCC 4.6 optimized a little
>> better or something very weird is going on in wine, I don't know. The
>> assembly optimizations work very
2014 Dec 09
5
Two new CVEs against FLAC
On 25.11.2014 12:14, Miroslav Lichvar wrote:
> I think the case with non-zero partition order may need to be fixed
> too. For example, with partition order of 1, predictor order of 16 and
> blocksize of 4, the function would return true and blocksize-order in
> the caller would still underflow.
>
> --- a/src/libFLAC/stream_decoder.c
> +++ b/src/libFLAC/stream_decoder.c
> @@
2014 Nov 25
9
Two new CVEs against FLAC
Hi all,
Google Security Team member, Michele Spagnuolo, recently found two potential
problems in the FLAC code base. They are :
CVE-2014-9028 : Heap buffer write overflow
CVE-2014-8962 : Heap buffer read overflow
For Linux distributions, the specific fixes for these two CVEs are available
from Git here:
2014 Jun 19
7
[PATCH] stream_encoder : Improve selection of residual accumulator width
In the precompute_partition_info_sums_ function, instead of selecting
64-bit accumulator when the signal bps is larger than 16, revert to the
original approach based on partition size, but make room for few extra
bits to not overflow with unusual signals where the average residual
magnitude may be larger than bps.
It slightly improves the performance with standard encoding levels and
16-bit files
2008 Mar 14
2
bitreader optimizations
Hi,
attached are patches that improve decoding speed a bit. The first
patch improves the bit scan macro used for decoding unary values, the
second one adds a GCC inline assembly for bswap and the third patch
replaces the read_rice_block function.
In my testing it turned out to be even faster than the _ia32_bswap
function. If the code produced by MSVC is faster as well, I'd suggest
to remove
2004 Sep 10
2
getting framesize in client
I have few notes:
It seems there is changed API in CVS again. So, what about adding
function like
unsigned FLAC__format_frame_size(const FLAC__Frame *frame)
which returns size of the frame in bytes. This can be useful, for
example, in xmms plugin to display current bitrate like vorbis plugin
does.
If 'PERFORMER' field is missing in vorbis comment, it would be nice to
display
2013 Mar 11
3
flac 1.3.0pre2 pre-release
Ben Allison wrote:
> As mentioned before, this removes some of the 'inline' from the bitreader
> and bitwriter functions that were used in another translation unit. I'm
> surprised that this code works on other platform. It must be a bug in
> GCC, or maybe deliberately non-standard behavior. See 6.7.4 of the C99
> spec for details.
I've read section 6.7.4 from
2004 Sep 10
1
lpc slowdown
I have noticed lpc slowdown both in encoding and decoding, not
related to new config.h stuff. It seems there is wrong choosing of
fastest possible version of lpc function. Patch is attached.
--
Miroslav Lichvar
-------------- next part --------------
Index: src/libFLAC/stream_decoder.c
===================================================================
RCS file:
2012 May 04
4
Git branch with compiling fixes for win32
On Fri, May 04, 2012 at 05:53:23PM +0200, Miroslav Lichvar wrote:
> The most interesting part of the patch is the rewrite of the
> FLAC__bitreader_read_rice_signed_block function, which in the git repo
> seems to have only couple lines changed since 1.2.1.
Here is that part of the patch rebased against current git. In a quick
test it gives a 10% speedup in decoding.
--
Miroslav Lichvar
2004 Sep 10
4
xmms-plugin problems
Hi,
i'm using xmms-plugin from flac-0.9, i found following problems.
Back-seeking cause, that .flac is not played all. It's caused by
StreamDecoderPrivate variable samples_decoded and function
stream_decoder_frame_sync_, which compare it against whole length of stream.
I don't know what is meaning of this varible (samples decoded from last reset
or for whole life of decoder). So i