Skip to content
Snippets Groups Projects
Commit d21816d6 authored by Timothy B. Terriberry's avatar Timothy B. Terriberry
Browse files

Add comment explaining fix in 72f4f8a6.

parent 72f4f8a6
No related branches found
No related tags found
No related merge requests found
......@@ -199,6 +199,8 @@ static int opus_tags_parse_impl(OpusTags *_tags,
if(_tags->user_comments[ci]==NULL)return OP_EFAULT;
_tags->comment_lengths[ci]=(int)count;
_tags->comments=ci+1;
/*Needed by opus_tags_clear() if we fail before parsing the (optional)
binary metadata.*/
_tags->user_comments[ci+1]=NULL;
}
_data+=count;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment