decoder/flac: pass VorbisComment to comments_to_tag()

This commit is contained in:
Max Kellermann
2009-11-10 21:58:19 +01:00
parent 2f69831fb8
commit e51d9fc6a9
4 changed files with 12 additions and 11 deletions

View File

@@ -177,7 +177,8 @@ static void of_metadata_dup_cb(G_GNUC_UNUSED const OggFLAC__SeekableStreamDecode
block->data.stream_info.sample_rate + 0.5;
return;
case FLAC__METADATA_TYPE_VORBIS_COMMENT:
flac_vorbis_comments_to_tag(data->tag, NULL, block);
flac_vorbis_comments_to_tag(data->tag, NULL,
&block->data.vorbis_comment);
default:
break;
}