fix compile error

This commit is contained in:
Josh Coalson
2001-04-13 18:43:53 +00:00
parent ce025f577d
commit 6ff59c56f6
2 changed files with 2 additions and 2 deletions

View File

@@ -395,7 +395,7 @@ void error_callback_(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErro
bool seek_to_absolute_sample_(FLAC__FileDecoder *decoder, long filesize, uint64 target_sample) bool seek_to_absolute_sample_(FLAC__FileDecoder *decoder, long filesize, uint64 target_sample)
{ {
long first_frame_offset, lower_bound, upper_bound, pos = -1, last_pos = -1; long first_frame_offset, lower_bound, upper_bound, pos = -1, last_pos = -1;
int i, lower_seek_point = -1; int i, lower_seek_point = -1, upper_seek_point = -1;
unsigned approx_bytes_per_frame; unsigned approx_bytes_per_frame;
uint64 last_frame_sample = 0xffffffffffffffff; uint64 last_frame_sample = 0xffffffffffffffff;
bool needs_seek; bool needs_seek;

View File

@@ -66,7 +66,7 @@ const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_ORDER_LEN = 4; /* bi
const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_PARAMETER_LEN = 4; /* bits */ const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_PARAMETER_LEN = 4; /* bits */
const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_RAW_LEN = 5; /* bits */ const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_RAW_LEN = 5; /* bits */
const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_ESCAPE_PARAMETER = (1<<FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_PARAMETER_LEN)-1; const unsigned FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_ESCAPE_PARAMETER = 15; /* == (1<<FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_PARAMETER_LEN)-1 */
const char *FLAC__EntropyCodingMethodTypeString[] = { const char *FLAC__EntropyCodingMethodTypeString[] = {
"PARTITIONED_RICE" "PARTITIONED_RICE"