Lines Matching refs:mime_type
480 FLAC__STREAM_METADATA_PICTURE_MIME_TYPE_LENGTH_LEN + /* empty mime_type string */
490 object->data.picture.mime_type = 0;
500 /* now initialize mime_type and description with empty strings to make things easier on the client */
501 if(!copy_cstring_(&object->data.picture.mime_type, "")) {
506 if(object->data.picture.mime_type)
507 free(object->data.picture.mime_type);
601 if(!copy_cstring_(&to->data.picture.mime_type, object->data.picture.mime_type)) {
668 if(0 != object->data.picture.mime_type) {
669 free(object->data.picture.mime_type);
670 object->data.picture.mime_type = 0;
839 if(block1->mime_type != block2->mime_type && (0 == block1->mime_type || 0 == block2->mime_type || strcmp(block1->mime_type, block2->mime_type)))
1721 FLAC_API FLAC__bool FLAC__metadata_object_picture_set_mime_type(FLAC__StreamMetadata *object, char *mime_type, FLAC__bool copy)
1728 FLAC__ASSERT(0 != mime_type);
1730 old = object->data.picture.mime_type;
1732 new_length = strlen(mime_type);
1738 if(!copy_bytes_((FLAC__byte**)(&object->data.picture.mime_type), (FLAC__byte*)mime_type, new_length+1))
1742 object->data.picture.mime_type = mime_type;