[xiph-commits] r13185 - trunk/Tremor
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Sat Jun 23 02:20:05 PDT 2007
Author: xiphmont
Date: 2007-06-23 02:20:04 -0700 (Sat, 23 Jun 2007)
New Revision: 13185
Modified:
trunk/Tremor/codebook.c
trunk/Tremor/info.c
Log:
...add same eop fix to Tremor mainline
Modified: trunk/Tremor/codebook.c
===================================================================
--- trunk/Tremor/codebook.c 2007-06-23 09:17:01 UTC (rev 13184)
+++ trunk/Tremor/codebook.c 2007-06-23 09:20:04 UTC (rev 13185)
@@ -194,7 +194,7 @@
}
}
- oggpack_adv(b, read);
+ oggpack_adv(b, read+1);
return(-1);
}
Modified: trunk/Tremor/info.c
===================================================================
--- trunk/Tremor/info.c 2007-06-23 09:17:01 UTC (rev 13184)
+++ trunk/Tremor/info.c 2007-06-23 09:20:04 UTC (rev 13185)
@@ -96,8 +96,8 @@
if(vc->user_comments)_ogg_free(vc->user_comments);
if(vc->comment_lengths)_ogg_free(vc->comment_lengths);
if(vc->vendor)_ogg_free(vc->vendor);
+ memset(vc,0,sizeof(*vc));
}
- memset(vc,0,sizeof(*vc));
}
/* blocksize 0 is guaranteed to be short, 1 is guarantted to be long.
More information about the commits
mailing list