Displaying 20 results from an estimated 10000 matches similar to: "Fixed first cast-align warning"
2014 Jun 27
3
Fixed first cast-align warning
Martijn van Beurden wrote:
> op 27-06-14 14:11, Erik de Castro Lopo schreef:
> > There has been at least one person on this list who is able to do
> > perfromance tests on FLAC. I would appreciate it if someone could
> > run such a performance test before and after the above commit.
>
> Are you specifically referring to the ARM platform or to any
> platform?
The
2014 Jun 29
6
FIxed rest of cast-align warnings
Hi all,
In commit 3eb4094b859 I think I have fixed all the cast-align warnings.
I have tested this in amd64/Linux (little endian) and powerpc64/Linux
(big endian) and it passed all tests (including the new MD5 tests).
I also did a little performance testing on amd64/Linux with a one
hour long stereo WAV file and could not find any mesasurable difference
between the old and the new code.
I
2014 Jun 30
1
FIxed rest of cast-align warnings
lvqcl wrote:
> Erik de Castro Lopo wrote:
>
> >> FLAC__int16 s16buffer[FLAC__MAX_BLOCK_SIZE * FLAC__MAX_CHANNELS * sizeof(FLAC__int32)/sizeof(FLAC__int16)];
> >>
> >> instead of
> >>
> >> FLAC__int16 s16buffer[FLAC__MAX_BLOCK_SIZE * FLAC__MAX_CHANNELS * sizeof(FLAC__int16)];
> >
> > Really? Would you also write this? :
> >
>
2015 Aug 28
6
Undefined behaviour
Hi all,
People watching the git commits might have noticed that I have been
fixing a number of issues around undefined behaviour.
Why you ask?
* Some forms of undefined behaviour have potential for security exploits.
* Compiler writers are free to replace anything which invokes UB with a
NOP or even, nothing at all.
* Having large numbers of UB warnings makes it difficult (or rather time
2012 Oct 12
0
Regression fixed
Hi all,
I just pushed a commit which fixes a nasty regression in FLAC.
https://git.xiph.org/?p=flac.git;a=commit;h=fc360735ce4d1aa88a94bfccdd3bea5bdd19a8d6
> author Erik de Castro Lopo <erikd at mega-nerd.com>
> committer Erik de Castro Lopo <erikd at mega-nerd.com>
> commit fc360735ce4d1aa88a94bfccdd3bea5bdd19a8d6
>
> Fix a regression that severely impacted
2014 Feb 01
1
"Compression failed" message
Brian Willoughby wrote:
> It makes sense to have the option to return non-zero when the
> "compression" fails to "compress." As Erik pointed out, a script
> could use the return code to decide to delete the larger FLAC output
> file and keep the original input file since it is smaller (and
> equally lossless).
>
> However, I agree that it is
2008 Jul 31
0
[LLVMdev] Status of Ocaml bindings
On Thu, Jul 31, 2008 at 12:32, Erik de Castro Lopo <mle+cl at mega-nerd.com> wrote:
> Hi all,
>
> I'm interested in the LLVM Ocaml bindings so I pulled the current
> sources from SVN and built them. When I ran the test suite I got the
> following stats:
>
> # of expected passes 2631
> # of unexpected failures 7
> # of expected
2006 Nov 03
2
Strangeness with OggFlac files
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
Directions for compiling this is in the comments at the top of
the file.
When the program is
2012 Feb 04
1
Fix cuesheet.c to allow metaflac_test.sh to run to completion
Earl Chew wrote:
> Erik,
>
> My working view has this as the last commit:
>
> commit 19e3918d4e35f4ab99e7fcc58c169025c576dd16
> Author: David Schleef <ds at schleef.org>
> Date:?? Thu Aug 25 18:40:29 2011 -0700
>
> ??? Fix md5 structure clearing in previous commit
>
>
>
> Using this, test_metaflac.sh runs cleanly with my cuesheet.c change.
2016 Jun 26
2
FLAC__SSE_OS change
lvqcl wrote:
> No, FLAC__AVX_SUPPORTED is 0 (initially it's undefined, then inside cpu.h
> it's defined as 0).
>
> MSVC cannot discard unused references in debug builds and when LTCG is on,
> for example: <http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2016-April/193437.html>
>
> And currently LTCG is enabled for release builds.
Ok, I think I've fixed it
2005 Jan 30
1
Patch : fix configure.in and Makefile.am problems.
On Sun, 30 Jan 2005 14:39:18 -0800 (PST)
Josh Coalson <xflac@yahoo.com> wrote:
> --- Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote:
> > On Sun, 30 Jan 2005 10:45:05 -0800 (PST)
> > Josh Coalson <xflac@yahoo.com> wrote:
> >
> > > OK, thanks, checked in. once linux-ppc is ironed out the
> > > release should be ready to go.
> >
2007 Jul 25
2
Is FLAC__stream_decoder_seek_absolute working for OggFlac?
Josh Coalson wrote:
> --- Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote:
>
> > Hi all,
> >
> > Is seeking working for OggFlac files? I keep on getting a
> > FLAC__STREAM_DECODER_SEEK_ERROR.
>
> yes, it should work fine. in flac/src/test_seeking/main.c there
> is an example usage of FLAC__stream_decoder_seek_absolute(). you
> could try
2007 Sep 11
0
Is FLAC__stream_decoder_seek_absolute working for OggFlac?
--- Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote:
> Josh Coalson wrote:
>
> > --- Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote:
> >
> > > Hi all,
> > >
> > > Is seeking working for OggFlac files? I keep on getting a
> > > FLAC__STREAM_DECODER_SEEK_ERROR.
> >
> > yes, it should work fine. in
2016 Jun 25
2
FLAC__SSE_OS change
lvqcl wrote:
> 1) if FLAC__SSE_OS==1 then MSVC cannot compile current cpu.c:
> "#include <windows.h>" line is inactive and MSVC complains:
> cpu.c(278): error C2065: 'EXCEPTION_EXECUTE_HANDLER': undeclared identifier
> cpu.c(279): error C2065: 'STATUS_ILLEGAL_INSTRUCTION': undeclared identifier
>
> 2) the current code (simplified):
>
>
2006 Nov 06
3
[PATCH] Re: Strangeness with OggFlac files
--- Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote:
> 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
2013 Mar 09
1
Can't cross-compile from git now.
On 3/9/2013 06:20, Erik de Castro Lopo wrote:
> bat guano wrote:
>
>>
>> Hi
>> I have a problem now cross-compiling FLAC from latest git.
>> With Ubuntu 12.04 and g++-mingw-w64-i686 (4.6.3-1ubuntu5+5ubuntu1).
>>
>> I think that the problem might have been introduced on 5 Mar 2013
>> with commit 05609d5 (configure.ac : Add hardening compile options.)
2007 Jun 13
2
FLAC: library for C#
--- Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote:
> Harry Sack wrote:
>
> > Hi FLAC dev's list,
> >
> > I'm looking for a library for the C# language (Microsoft .Net
> > Framework 2.0or higher) to play FLAC files and/or maybe do some
> other
> > things like getting
> > the file duration, file properties, ... of FLAC files.
>
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
2004 Nov 11
3
Legal sample rates
On Thu, 11 Nov 2004 13:33:42 -0800 (PST)
Josh Coalson <xflac@yahoo.com> wrote:
> --- Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote:
> > On Wed, 10 Nov 2004 16:08:21 -0800 (PST)
> > Josh Coalson <xflac@yahoo.com> wrote:
> >
> > > > Is there someway of figuring out if a sample rate is valid?
> > >
> > > that's the
2017 Feb 07
2
Using ASAN on C code called from other languages
Kostya Serebryany wrote:
> I don't know anything about haskell, but if you post a minimal reproducer
> here
> we *may* be able to help.
Its just so happens that I do have something here:
https://github.com/erikd-ambiata/haskell-sanitize
The Readme should have all the information you need. Any problems,
please let mw know.
Cheers,
Erik
--