Fix a bug in the post-encode normalization;
authorMonty <xiphmont@xiph.org>
Tue, 12 Dec 2000 08:54:27 +0000 (08:54 +0000)
committerMonty <xiphmont@xiph.org>
Tue, 12 Dec 2000 08:54:27 +0000 (08:54 +0000)
commitfe2244ae2542103b4bbab6ae13e1185aba620014
treee64284c3f9dd903ca64a476d4a088eca2ff412f4
parent99cd6c11f7b5d773b2cb876a02acfbda24bbd1a8
Fix a bug in the post-encode normalization;

a zero amplitude was not being written by the normalizer, which causes
a problem is one channel is digital silence but the other contains
even a single nonzero bit (the whole frame is shifted/corrupt)

Monty

svn path=/trunk/vorbis/; revision=1108
examples/encoder_example.c
lib/floor0.c
lib/mapping0.c