diff options
author | Josh Coalson <jcoalson@users.sourceforce.net> | 2006-05-03 00:20:47 +0000 |
---|---|---|
committer | Josh Coalson <jcoalson@users.sourceforce.net> | 2006-05-03 00:20:47 +0000 |
commit | 6126c83125473dccab1f45026bd1263b07467fbe (patch) | |
tree | 5a51b522b94ac4bee742bf24d1ec1435bcaf024d /src/plugin_common | |
parent | fe3b8ecc95fb0c608fac1d0c8f761d4bc9914c2d (diff) | |
download | flac-6126c83125473dccab1f45026bd1263b07467fbe.tar.gz |
minor syntax
Diffstat (limited to 'src/plugin_common')
-rw-r--r-- | src/plugin_common/replaygain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin_common/replaygain.c b/src/plugin_common/replaygain.c index 88e93410..b9c83a49 100644 --- a/src/plugin_common/replaygain.c +++ b/src/plugin_common/replaygain.c @@ -28,10 +28,10 @@ void FLAC_plugin__replaygain_get_from_file(const char *filename, double *track_peak, FLAC__bool *track_peak_set, double *album_peak, FLAC__bool *album_peak_set) { + FLAC__Metadata_SimpleIterator *iterator = FLAC__metadata_simple_iterator_new(); + *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(); if(0 != iterator) { if(FLAC__metadata_simple_iterator_init(iterator, filename, /*read_only=*/true, /*preserve_file_stats=*/true)) { FLAC__bool got_vorbis_comments = false; |