Lines Matching refs:user_comments
66 vc->user_comments=_ogg_realloc(vc->user_comments, in vorbis_comment_add()
67 (vc->comments+2)*sizeof(*vc->user_comments)); in vorbis_comment_add()
71 vc->user_comments[vc->comments]=_ogg_malloc(vc->comment_lengths[vc->comments]+1); in vorbis_comment_add()
72 strcpy(vc->user_comments[vc->comments], comment); in vorbis_comment_add()
74 vc->user_comments[vc->comments]=NULL; in vorbis_comment_add()
107 if(!tagcompare(vc->user_comments[i], fulltag, taglen)){ in vorbis_comment_query()
110 return vc->user_comments[i] + taglen; in vorbis_comment_query()
126 if(!tagcompare(vc->user_comments[i], fulltag, taglen)) in vorbis_comment_query_count()
136 if(vc->user_comments){ in vorbis_comment_clear()
138 if(vc->user_comments[i])_ogg_free(vc->user_comments[i]); in vorbis_comment_clear()
139 _ogg_free(vc->user_comments); in vorbis_comment_clear()
251 vc->user_comments=_ogg_calloc(vc->comments+1,sizeof(*vc->user_comments)); in _vorbis_unpack_comment()
259 vc->user_comments[i]=_ogg_calloc(len+1,1); in _vorbis_unpack_comment()
260 _v_readstring(opb,vc->user_comments[i],len); in _vorbis_unpack_comment()
478 if(vc->user_comments[i]){ in _vorbis_pack_comment()
480 _v_writestring(opb,vc->user_comments[i], vc->comment_lengths[i]); in _vorbis_pack_comment()