ref: 8c2a87e31d06bfc76a0e38efb201a4973ce7818c
parent: bba05308eca0ac4b69a78cae02fe8a151ef018b7
author: Ralph Giles <[email protected]>
date: Fri Nov 4 12:51:49 EDT 2016
Fix typo in assertion. Commit d0c82543d55f1f5938460022777301b8de023bc9 broke builds with --enable-assertions with error: 'tag_len' undeclared. Fixing the simple typo in the symbol reference resolves the issue.
--- a/src/info.c
+++ b/src/info.c
@@ -410,7 +410,7 @@
ncomments=_tags->comments;
/*Look for the first valid tag with the name _tag_name and use that.*/
for(ci=0;ci<ncomments;ci++){
- OP_ASSERT(tag_len<=(size_t)INT_MAX);
+ OP_ASSERT(_tag_len<=(size_t)INT_MAX);
if(opus_tagncompare(_tag_name,(int)_tag_len,comments[ci])==0){
char *p;
opus_int32 gain_q8;