ref: d21816d61f9fced70b6cdeee0c4325b621f03c37
parent: 72f4f8a6c2c38a135d714bfa2a0831493299aebd
author: Timothy B. Terriberry <tterribe@xiph.org>
date: Sun Jul 3 15:12:49 EDT 2016
Add comment explaining fix in 72f4f8a6c2c3.
--- a/src/info.c
+++ b/src/info.c
@@ -199,6 +199,8 @@
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;