Displaying 4 results from an estimated 4 matches for "flac__metadata_simpleiterator".
2005 May 25
0
[PATCH] Fix fuction prototypes/definitions with void argument
...{
0,1,1,0,1,0,0,1,1,0,0,1,0,1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,
--- src/libFLAC/metadata_iterators.c-dist 2005-05-25 16:07:23.000000000 +0200
+++ src/libFLAC/metadata_iterators.c 2005-05-25 16:07:27.000000000 +0200
@@ -339,7 +339,7 @@ FLAC_API const char * const FLAC__Metada
};
-FLAC_API FLAC__Metadata_SimpleIterator *FLAC__metadata_simple_iterator_new()
+FLAC_API FLAC__Metadata_SimpleIterator *FLAC__metadata_simple_iterator_new(void)
{
FLAC__Metadata_SimpleIterator *iterator = (FLAC__Metadata_SimpleIterator*)calloc(1, sizeof(FLAC__Metadata_SimpleIterator));
@@ -846,7 +846,7 @@ FLAC_API const char * const...
2006 Jul 23
1
[PATCH] Fix a compile bug with gcc 2.95 in src/plugin_common/replaygain.c
...double *track_peak, FLAC__bool *track_peak_set,
double *album_peak, FLAC__bool *album_peak_set)
{
- *track_gain_set = *album_gain_set = *track_peak_set = *album_peak_set = false;
-
/* Largely stolen from vorbiscomment.c and the other replaygain.c */
FLAC__Metadata_SimpleIterator *iterator = FLAC__metadata_simple_iterator_new();
+
+ *track_gain_set = *album_gain_set = *track_peak_set = *album_peak_set = false;
+
if(0 != iterator) {
if(FLAC__metadata_simple_iterator_init(iterator, filename, /*read_only=*/true, /*preserve_file_stats=*/true)) {
FLAC__bool got_vorbis_c...
2008 May 09
1
FLAC__metadata_get_picture()
...5 FLAC_API FLAC__bool FLAC__metadata_get_picture(const char *filename,
FLAC__StreamMetadata **picture, FLAC__StreamMetadata_Picture_Type type,
const char *mime_type, const FLAC__byte *description, unsigned
max_width, unsigned max_height, unsigned max_depth, unsigned max_colors)
286 {
287 FLAC__Metadata_SimpleIterator *it;
288 FLAC__uint64 max_area_seen = 0;
289 FLAC__uint64 max_depth_seen = 0;
290
291 FLAC__ASSERT(0 != filename);
292 FLAC__ASSERT(0 != picture);
293
294 *picture = 0;
295
296 it = FLAC__metadata_simple_iterator_new();
297 if(0 == it)
298 r...
2013 Mar 06
2
2GB limit patch
Brian Willoughby wrote:
> I do not see the need to jump to 64-bit merely to get beyond the 2 GB
> limit. There are modern API that handle 32-bit unsigned file lengths
> - i.e., up to 4 GB - without going to 64-bit.
When we are talking about offset_t we are talking about the flac C and
C++ API. Currently if we have a flac file with more than 2Gig samples
it is not possible to seek