Displaying 7 results from an estimated 7 matches for "flac__stream_decoder_delet".
Did you mean:
flac__stream_decoder_delete
2011 Sep 15
1
decoder lost after processing
...code works just
fine, but when I use libao, after calling
FLAC__stream_decoder_process_until_end_of_stream(), decoder points to an
inaccessible area of memory (0x2). This invariable causes a segmentation
fault when anything else thereafter uses the decoder (i.e.
FLAC__stream_decoder_get_state() and FLAC__stream_decoder_delete()).
What could be causing the problem?
My code can be accessed here <http://sprunge.us/IUha>
Best regards,
Albert Chang
2009 Sep 22
0
Making the FLAC decoder work without callbacks
...ery simple application which uses the libFLAC.lib
static library and calls the following functions to do this task:
- FLAC__stream_decoder_new
- FLAC__stream_decoder_set_md5_checking
- FLAC__stream_decoder_init_FILE
- FLAC__stream_decoder_process_single (inside a while<no. of frames> loop)
- FLAC__stream_decoder_delete
All of this happens without resorting to callbacks. Even though it seems
from the documentation that this is a possibility with the given APIs, I
am not able to make it work. Does anyone have any ideas about how I should
go about doing this?
Any help will be greatly appreciated!
Thanks &...
2004 Sep 10
0
flac-1.0.3_beta released
....c
(gdb) where
#0 __pthread_mutex_lock (mutex=0x66910) at mutex.c:99
#1 0x403b0fe8 in __libc_free (mem=0x40464e90) at malloc.c:3152
#2 0x4120b175 in FLAC__bitbuffer_free (bb=0x81c1bd8) at bitbuffer.c:340
#3 0x4120accb in FLAC__bitbuffer_delete (bb=0x81c1bd8) at bitbuffer.c:261
#4 0x4121fa3b in FLAC__stream_decoder_delete (decoder=0x81c1ba8)
at stream_decoder.c:193
#5 0x4121cc69 in FLAC__seekable_stream_decoder_delete (decoder=0x81c1b88)
at seekable_stream_decoder.c:158
#6 0x4120f759 in FLAC__file_decoder_delete (decoder=0x81c1b48)
at file_decoder.c:140
#7 0x41140f26 in safe_decoder_delete_ (decoder=...
2004 Sep 10
1
flac-1.0.3_beta released
...utex_lock (mutex=0x66910) at mutex.c:99
> #1 0x403b0fe8 in __libc_free (mem=0x40464e90) at malloc.c:3152
> #2 0x4120b175 in FLAC__bitbuffer_free (bb=0x81c1bd8) at
> bitbuffer.c:340
> #3 0x4120accb in FLAC__bitbuffer_delete (bb=0x81c1bd8) at
> bitbuffer.c:261
> #4 0x4121fa3b in FLAC__stream_decoder_delete (decoder=0x81c1ba8)
> at stream_decoder.c:193
> #5 0x4121cc69 in FLAC__seekable_stream_decoder_delete
> (decoder=0x81c1b88)
> at seekable_stream_decoder.c:158
> #6 0x4120f759 in FLAC__file_decoder_delete (decoder=0x81c1b48)
> at file_decoder.c:140
> #7 0x41140f2...
2004 Sep 10
11
flac-1.0.3_beta released
I have just released a source distribution which is the
candidate for the 1.0.3 release. At this time I would
ask anyone who is willing to help test it to do the
following:
1. download the tarball and unzip it:
http://prdownloads.sourceforge.net/flac/flac-1.0.3_beta-src.tar.gz?download
2. do
./configure && make && make check
This will build all code and run all the tests.
2012 May 05
5
[PATCH] Optionally, allow distros to use openssl for MD5 verification
...(void)
decoder->private_->file = 0;
set_defaults_(decoder);
-
+#if defined(HAVE_OPENSSL)
+ EVP_MD_CTX_init(&decoder->private_->md5context);
+#endif
decoder->protected_->state = FLAC__STREAM_DECODER_UNINITIALIZED;
return decoder;
@@ -346,7 +348,9 @@ FLAC_API void FLAC__stream_decoder_delete(FLAC__StreamDecoder *decoder)
for(i = 0; i < FLAC__MAX_CHANNELS; i++)
FLAC__format_entropy_coding_method_partitioned_rice_contents_clear(&decoder->private_->partitioned_rice_contents[i]);
-
+#if defined(HAVE_OPENSSL)
+ EVP_MD_CTX_cleanup(&decoder->private_->md5cont...
2004 Sep 10
0
http streaming in the xmms plugin
...amDecoder *) decoder) != FLAC__STREAM_DECODER_UNINITIALIZED) {
! FLAC__stream_decoder_finish((FLAC__StreamDecoder *) decoder);
! flac_http_close();
! }
}
! static void http_decoder_safe_decoder_delete_(void *decoder)
{
if(decoder) {
! http_decoder_safe_decoder_finish_(decoder);
! FLAC__stream_decoder_delete( (FLAC__StreamDecoder *) decoder);
! }
! }
!
! static FLAC__bool http_decoder_is_eof(void *decoder)
! {
! return FLAC__stream_decoder_get_state((FLAC__StreamDecoder *) decoder) == FLAC__STREAM_DECODER_END_OF_STREAM;
! }
!
! static const decoder_funcs_t HTTP_DECODER_FUNCTIONS = {
! false,
! (...