search for: vorbis_comment_query_count

Displaying 4 results from an estimated 4 matches for "vorbis_comment_query_count".

2007 Aug 10
5
[Patch] Const correct tags functions
...nt *vc, char *comment); +extern void vorbis_comment_add(vorbis_comment *vc, const char *comment); extern void vorbis_comment_add_tag(vorbis_comment *vc, - char *tag, char *contents); -extern char *vorbis_comment_query(vorbis_comment *vc, char *tag, int count); -extern int vorbis_comment_query_count(vorbis_comment *vc, char *tag); + const char *tag, const char *contents); +extern char *vorbis_comment_query(vorbis_comment *vc, const char *tag, int count); +extern int vorbis_comment_query_count(vorbis_comment *vc, const char *tag); extern void vorbis_comment_clear(vorbis_c...
2000 Oct 18
3
ov_comment spec
...ncorportate mp3info like featuers. Looking at existing vorbis api calls, i find: vorbis_comment_add() /* unsupervised string insertion */ vorbis_comment_add_tag() /* formated TAG=text insertion */ vorbis_comment_query() /* scans for matching tag (up to count duplicates) and returns the last one */ vorbis_comment_query_count() /* returns the number of matching TAG instances */ vorbis_comment_clear() /* obvious */ It seems to be allowing duplicate TAG identifies is less than optimal. I know there are instances where you have more than one artist, for example, and you need to allow for more than one artist value. I...
2015 Oct 12
2
Use of alloca in vorbis_comment_add_tag
Dear Vorbis devs, I'm Robert Kausch, author of fre:ac - free audio converter. Please consider using _ogg_malloc/_ogg_free in place of alloca in vorbis_comment_add_tag. alloca will cause undefined behaviour/crashing when it causes a stack overflow which can easily happen when adding cover art in a METADATA_BLOCK_PICTURE comment. I had a user trying to convert a FLAC file with a 2 MB
2002 Dec 30
0
vorbis_comment interface
...t defined like this for reason? void vorbis_comment_add(vorbis_comment *vc, char *comment); void vorbis_comment_add_tag(vorbis_comment *vc, char *tag, char *contents); char *vorbis_comment_query(vorbis_comment *vc, char *tag, int count); int vorbis_comment_query_count(vorbis_comment *vc, char *tag); <p>Thanks. <p> -- Kristian G. Kvilekval email:kris@cs.ucsb.edu office:(805)893-4276 http://www.cs.ucsb.edu/~kris --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list,...