Displaying 5 results from an estimated 5 matches for "flac__fixed_compute_best_predictor".
2004 Sep 10
3
Re: 0.9 problems
...restore_signal, the index variable 'i' is declared
> unsigned, then used like so: [...] With the following trivial patch applied,
> everything works on Alpha, at least with my test sample.
Against 0.9 or CVS? While this clearly fixes a bug, 0.9 still dies
for me.
#0 0x1600692a8 in FLAC__fixed_compute_best_predictor (data=0x11fc,
data_len=1611182472, residual_bits_per_sample=0x0) at fixed.c:84
84 residual_bits_per_sample[0] = (real)((data_len > 0) ?
log(M_LN2 * (real)total_error_0 / (real) data_len) / M_LN2 : 0.0);
(gdb) bt
#0 0x1600692a8 in FLAC__fixed_compute_best_predictor (data=0x11...
2004 Sep 10
3
0.9 problems
On Sat, May 19, 2001 at 12:55:08AM -0400, Matt Zimmerman wrote:
> On Sat, May 19, 2001 at 02:05:14AM +0000, Christian Weisgerber wrote:
>
> > Problems in FLAC 0.9:
> >
> > - On alpha, flac immediately dumps core for both encoding and
> > decoding (FreeBSD/alpha).
>
> I have reproduced this on Debian/alpha as well. I will spend some time
> debugging it
2013 May 15
0
FLAC currently won't compile for Android [bisected]
...-externs]
bitwriter.c: In function 'FLAC__bitwriter_write_zeroes':
bitwriter.c:277:3: warning: implicit declaration of function 'MIN'
[-Wimplicit-function-declaration]
bitwriter.c:277:3: warning: nested extern declaration of 'MIN'
[-Wnested-externs]
fixed.c: In function 'FLAC__fixed_compute_best_predictor':
fixed.c:241:2: warning: implicit declaration of function 'MIN'
[-Wimplicit-function-declaration]
fixed.c:241:2: warning: nested extern declaration of 'MIN'
[-Wnested-externs]
fixed.c:241:19: warning: comparison between signed and unsigned integer
expressions [-Wsign-compare]
f...
2013 May 15
2
FLAC currently won't compile for Android [bisected]
2013/5/15 Ulrich Klauer <ulrich at chirlu.de>
> Felix Homann wrote:
>
> > Yes, HAVE_SYS_PARAM_H is set in config.h:
>
> OK ... Yet still I don't see how a change in
> src/libFLAC/include/private/macros.h could affect src/flac/utils.c in
> any way.
>
> Anyone got an idea?
I haven't spend too much attention to the errors when bisecting, sorry!
The
2012 Apr 05
2
[PATCH 2/2] V2: Use a single definition of MIN and MAX in sources
...uot;private/macros.h"
#include "FLAC/assert.h"
#ifndef M_LN2
@@ -44,11 +45,6 @@
#define M_LN2 0.69314718055994530942
#endif
-#ifdef min
-#undef min
-#endif
-#define min(x,y) ((x) < (y)? (x) : (y))
-
#ifdef local_abs
#undef local_abs
#endif
@@ -242,11 +238,11 @@ unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned d
error -= last_error_3; total_error_4 += local_abs(error); last_error_3 = save;
}
- if(total_error_0 < min(min(min(total_error_1, total_error_2), total_error_3), total_error_4))
+ if(total_error_0 < flac_min(flac_min(flac_min(total_error_1, total_err...