projects
/
platform
/
upstream
/
flac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
347e35b
)
differentiate between format max bits per sample and codec max bits per sample
author
Josh Coalson
<jcoalson@users.sourceforce.net>
Fri, 17 May 2002 06:17:57 +0000
(06:17 +0000)
committer
Josh Coalson
<jcoalson@users.sourceforce.net>
Fri, 17 May 2002 06:17:57 +0000
(06:17 +0000)
src/flac/encode.c
patch
|
blob
|
history
diff --git
a/src/flac/encode.c
b/src/flac/encode.c
index
44590f4
..
a10b608
100644
(file)
--- a/
src/flac/encode.c
+++ b/
src/flac/encode.c
@@
-96,7
+96,7
@@
typedef struct {
static FLAC__bool is_big_endian_host;
-static unsigned char ucbuffer[CHUNK_OF_SAMPLES*FLAC__MAX_CHANNELS*((FLAC__MAX_BITS_PER_SAMPLE+7)/8)];
+static unsigned char ucbuffer[CHUNK_OF_SAMPLES*FLAC__MAX_CHANNELS*((FLAC__
REFERENCE_CODEC_
MAX_BITS_PER_SAMPLE+7)/8)];
static signed char *scbuffer = (signed char *)ucbuffer;
static FLAC__uint16 *usbuffer = (FLAC__uint16 *)ucbuffer;
static FLAC__int16 *ssbuffer = (FLAC__int16 *)ucbuffer;