search for: taglen

Displaying 1 result from an estimated 1 matches for "taglen".

Did you mean: tag_len
2007 Aug 10
5
[Patch] Const correct tags functions
...+2 for = and \0 */ strcpy(comment, tag); strcat(comment, "="); @@ -91,7 +91,7 @@ return 0; } -char *vorbis_comment_query(vorbis_comment *vc, char *tag, int count){ +char *vorbis_comment_query(vorbis_comment *vc, const char *tag, int count){ long i; int found = 0; int taglen = strlen(tag)+1; /* +1 for the = we append */ @@ -112,7 +112,7 @@ return NULL; /* didn't find anything */ } -int vorbis_comment_query_count(vorbis_comment *vc, char *tag){ +int vorbis_comment_query_count(vorbis_comment *vc, const char *tag){ int i,count=0; int taglen = strlen(tag)+1...