Lines Matching refs:vorbiscomment
443 FLAC__StreamMetadata *vorbiscomment, in mutils__init_metadata_blocks() argument
502 vorbiscomment->is_last = false; in mutils__init_metadata_blocks()
503 vorbiscomment->type = FLAC__METADATA_TYPE_VORBIS_COMMENT; in mutils__init_metadata_blocks()
504 vorbiscomment->length = (4 + vendor_string_length) + 4 + (4 + 5) + (4 + 0); in mutils__init_metadata_blocks()
505 vorbiscomment->data.vorbis_comment.vendor_string.length = vendor_string_length; in mutils__init_metadata_blocks()
506 vorbiscomment->data.vorbis_comment.vendor_string.entry = malloc_or_die_(vendor_string_length+1); in mutils__init_metadata_blocks()
507 …memcpy(vorbiscomment->data.vorbis_comment.vendor_string.entry, FLAC__VENDOR_STRING, vendor_string_… in mutils__init_metadata_blocks()
508 vorbiscomment->data.vorbis_comment.num_comments = 2; in mutils__init_metadata_blocks()
509 …vorbiscomment->data.vorbis_comment.comments = malloc_or_die_(vorbiscomment->data.vorbis_comment.nu… in mutils__init_metadata_blocks()
510 vorbiscomment->data.vorbis_comment.comments[0].length = 5; in mutils__init_metadata_blocks()
511 vorbiscomment->data.vorbis_comment.comments[0].entry = malloc_or_die_(5+1); in mutils__init_metadata_blocks()
512 memcpy(vorbiscomment->data.vorbis_comment.comments[0].entry, "ab=cd", 5+1); in mutils__init_metadata_blocks()
513 vorbiscomment->data.vorbis_comment.comments[1].length = 0; in mutils__init_metadata_blocks()
514 vorbiscomment->data.vorbis_comment.comments[1].entry = 0; in mutils__init_metadata_blocks()
616 FLAC__StreamMetadata *vorbiscomment, in mutils__free_metadata_blocks() argument
625 free(vorbiscomment->data.vorbis_comment.vendor_string.entry); in mutils__free_metadata_blocks()
626 free(vorbiscomment->data.vorbis_comment.comments[0].entry); in mutils__free_metadata_blocks()
627 free(vorbiscomment->data.vorbis_comment.comments); in mutils__free_metadata_blocks()