search for: decoder_new

Displaying 3 results from an estimated 3 matches for "decoder_new".

2004 Sep 10
2
Error initializing flac stream decoder.
Thanks for that email. The one lihe change I made is this : from #define FLAC__MAX_RICE_PARTITION_ORDER (15u) to #define FLAC__MAX_RICE_PARTITION_ORDER (6u) and that seemed to make decoder_new() happy, but it's promptly crashing after making a call to the read callback (below), then to the meta callback. The meta callback did nothing but print a string and return. I removed it, and it's just crashing at the read callback. The flac file I'm using is a 16/44.1 wav file...
2004 Sep 10
1
Error initializing flac stream decoder.
...lson wrote: > --- Reza Naima <reza@reza.net> wrote: > >>Thanks for that email. The one lihe change I made is this : >> >>from #define FLAC__MAX_RICE_PARTITION_ORDER (15u) >>to #define FLAC__MAX_RICE_PARTITION_ORDER (6u) >> >>and that seemed to make decoder_new() happy, but it's promptly >>crashing >>... > > > Don't change the global define... just replace the value > FLAC__MAX_RICE_PARTITION_ORDER with 6 in the two places > it is used in the FLAC__EntropyCodingMethod_PartitionedRice > struct. > > And rememb...
2004 Sep 10
2
Error initializing flac stream decoder.
I've cross-compiled flac for the armv4l processor (rio receiver), and i'm trying to start up a decode thread : #include <FLAC/stream_decoder.h> .... FLAC__StreamDecoder *flac = NULL; flac = FLAC__stream_decoder_new(); if (flac == NULL) { printf("[DECODE] Unable to initalize flac object\n"); pthread_exit(NULL); } And, oddly enough, it's consistantly failling at the FLAC__stream_decoder_new(). Is there any way to determine exactly why it isn&...