search for: flac__stream_encoder_client_error

Displaying 4 results from an estimated 4 matches for "flac__stream_encoder_client_error".

2007 Sep 25
1
creating flacs over 2GB
Hello All, I was struggling with the need of creating flac files over 2GB recently. Both the command line flac and my util using stream encoder returned FLAC__STREAM_ENCODER_CLIENT_ERROR when reaching that point. Finally I made a small change in libFLAC/stream_encoder.c in file_tell_callback_ function. I replaced the ftello call to fgetpos. This seems to work very well under win32. Based on the description at http://www.gnu.org/software/libc/manual/html_node/Portable-Positioning...
2006 Nov 04
2
amd64 issue with flac-1.1.3 beta2
...osh Coalson flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. Type `flac' for details. options: -P 8192 -b 4608 -m -l 8 -q 0 -r 3,3 foo.wav: 99% complete, ratio=0.722 foo.wav: ERROR during encoding state = FLAC__STREAM_ENCODER_CLIENT_ERROR An error occurred while writing; the most common cause is that the disk is full. ----------------- Strace reveals this: write(4, "\377\370Y\210\340\266\253\223\22\0\2\f?\377\375\235\235"..., 1652) = 1652 read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 409...
2008 May 19
1
Memory leaks due to Metadata object vorbis comment API ???
...scomment_entry_from_name_value_pair(&entry, > "DATE", FLAC_tagYear); > ok &= FLAC__metadata_object_vorbiscomment_append_comment(metadata[1], > entry, /*copy=*/true); > #endif > if (!FLAC__stream_encoder_set_metadata(encoder, metadata, 2)) > return FLAC__STREAM_ENCODER_CLIENT_ERROR; > > /* initialize encoder */ > if(ok) { > init_status = FLAC__stream_encoder_init_file(encoder, argv[2], > progress_callback, /*client_data=*/NULL); > if(init_status != FLAC__STREAM_ENCODER_INIT_STATUS_OK) { > fprintf(stderr, "ERROR: in...
2012 Apr 05
2
[PATCH 2/2] V2: Use a single definition of MIN and MAX in sources
..._written = max(encoder->private_->frames_written, encoder->private_->current_frame_number+1); + encoder->private_->frames_written = flac_max(encoder->private_->frames_written, encoder->private_->current_frame_number+1); } else encoder->protected_->state = FLAC__STREAM_ENCODER_CLIENT_ERROR; @@ -2510,7 +2501,7 @@ FLAC__StreamEncoderWriteStatus write_frame_(FLAC__StreamEncoder *encoder, const /* Gets called when the encoding process has finished so that we can update the STREAMINFO and SEEKTABLE blocks. */ void update_metadata_(const FLAC__StreamEncoder *encoder) { - FLAC__byte b[m...