Displaying 2 results from an estimated 2 matches for "flac__metadata_simple_iterator_next".
Did you mean:
  flac__metadata_simple_iterator_new
  
2008 May 09
1
FLAC__metadata_get_picture()
...cture = obj; // <------- HERE
  321                 max_area_seen = area;
  322                 max_depth_seen = obj->data.picture.depth;
  323             }
  324             else {
  325                 FLAC__metadata_object_delete(obj);
  326             }
  327         }
  328     } while(FLAC__metadata_simple_iterator_next(it));
  329
  330     FLAC__metadata_simple_iterator_delete(it);
  331
  332     return (0 != *picture);
  333 }
...
In line 320 picture always overwrite in do { } ... while ( ) cycle.
So it means, that every time I will get only the last image from file.
Am I right?
So how to get all images?
Tha...
2006 Sep 06
1
FLAC__metadata_simple_iterator_set_block corrupting Flac (ogg) stream?
...LAC__metadata_simple_iterator_init(iterator, fileName,
FALSE, FALSE);
        /**
         * Zip through the file for the vorbis comment section.
         */
        while (FLAC__metadata_simple_iterator_get_block_type(iterator) !=
FLAC__METADATA_TYPE_VORBIS_COMMENT)
        {
            result = FLAC__metadata_simple_iterator_next(iterator);
        }
        /**
         * Get the current block and write out the new values for it.
         */
        metaData = FLAC__metadata_simple_iterator_get_block(iterator);
        /**
         * Save the strings out.
         */
        [self saveCommentsToIterator: metaData];...