Displaying 3 results from an estimated 3 matches for "copy_n_bytes_from_file_".
2013 May 15
0
FLAC currently won't compile for Android [bisected]
...ration of 'MIN'
[-Wnested-externs]
md5.c: In function 'format_input_':
md5.c:282:25: warning: cast increases required alignment of target type
[-Wcast-align]
md5.c:288:24: warning: cast increases required alignment of target type
[-Wcast-align]
metadata_iterators.c: In function 'copy_n_bytes_from_file_':
metadata_iterators.c:3122:3: warning: implicit declaration of function
'MIN' [-Wimplicit-function-declaration]
metadata_iterators.c:3122:3: warning: nested extern declaration of 'MIN'
[-Wnested-externs]
stream_decoder.c: In function 'read_residual_partitioned_rice_':
s...
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
...COMMENT_ENTRY_LENGTH_LEN, FLAC__STREAM_METADATA_VORBIS_COMMENT_NUM_COMMENTS_LEN) / 8 == sizeof(buffer));
pack_uint32_little_endian_(block->vendor_string.length, buffer, entry_length_len);
if(write_cb(buffer, 1, entry_length_len, handle) != entry_length_len)
@@ -3134,7 +3125,7 @@ FLAC__bool copy_n_bytes_from_file_(FILE *file, FILE *tempfile, off_t bytes, FLAC
FLAC__ASSERT(bytes >= 0);
while(bytes > 0) {
- n = min(sizeof(buffer), (size_t)bytes);
+ n = flac_min(sizeof(buffer), (size_t)bytes);
if(fread(buffer, 1, n, file) != n) {
*status = FLAC__METADATA_SIMPLE_ITERATOR_STATUS_READ_ERROR;...