search for: flac__metadata_simple_iterator_new

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

2006 Jul 23
1
[PATCH] Fix a compile bug with gcc 2.95 in src/plugin_common/replaygain.c
..._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_comments = false; -- Eric Wong
2008 May 09
1
FLAC__metadata_get_picture()
...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 return false; 299 if(!FLAC__metadata_simple_iterator_init(it, filename, /*read_only=*/true, /*preserve_file_stats=*/true)) { 300 FLAC__metadata_simple_iterator_delete(it); 301 return false; 302 } 303 do { 304 if...
2005 May 25
0
[PATCH] Fix fuction prototypes/definitions with void argument
...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 FLAC__Metada }; -static FLAC__M...