diff options
author | Monty <xiphmont@xiph.org> | 2007-06-23 09:20:04 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2007-06-23 09:20:04 +0000 |
commit | 007453d4bd3bfc1eeb340d309e5680fa56f9877c (patch) | |
tree | 5492323289ef07e3afab5022ae60b4d5194b140c | |
parent | 8822f86214bd7ad682d5d7c61646603befeee635 (diff) | |
download | tremor-007453d4bd3bfc1eeb340d309e5680fa56f9877c.tar.gz |
...add same eop fix to Tremor mainline
git-svn-id: https://svn.xiph.org/trunk/Tremor@13185 0101bb08-14d6-0310-b084-bc0e0c8e3800
-rw-r--r-- | codebook.c | 2 | ||||
-rw-r--r-- | info.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -194,7 +194,7 @@ STIN long decode_packed_entry_number(codebook *book, } } - oggpack_adv(b, read); + oggpack_adv(b, read+1); return(-1); } @@ -96,8 +96,8 @@ void vorbis_comment_clear(vorbis_comment *vc){ 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. |