[xiph-cvs] cvs commit: vorbis/doc vorbis-spec-floor1.html

Monty xiphmont at xiph.org
Thu Sep 19 19:49:35 PDT 2002



xiphmont    02/09/19 22:49:35

  Modified:    doc      vorbis-spec-floor1.html
  Log:
  Correct loop range error in header decode of floor 1, as pointed out
  by Tor-Einar Jarnbjo

Revision  Changes    Path
1.8       +6 -5      vorbis/doc/vorbis-spec-floor1.html

Index: vorbis-spec-floor1.html
===================================================================
RCS file: /usr/local/cvsroot/vorbis/doc/vorbis-spec-floor1.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- vorbis-spec-floor1.html	11 Sep 2002 03:30:05 -0000	1.7
+++ vorbis-spec-floor1.html	20 Sep 2002 02:49:35 -0000	1.8
@@ -6,7 +6,7 @@
 Ogg Vorbis I format specification: floor type 1 setup and decode
 </font></h1>
 
-Last update to this document: September 10, 2002</em><br>
+Last update to this document: September 19, 2002</em><br>
 
 <h1>Overview</h1>
 
@@ -128,15 +128,16 @@
  17) [floor1_values] = 2
  18) iterate [i] over the range 0 ... [floor1_partitions]-1 {
 
-       19) iterate [j] over the range 0 ... ([floor1_class_dimensions] element [i])-1 {
-             20) vector [floor1_X_list] element ([j] + [floor1_values]) = 
+       19) [current_class_number] = vector [floor1_partition_class_list] element [i]
+       20) iterate [j] over the range 0 ... ([floor1_class_dimensions] element [current_class_number])-1 {
+             21) vector [floor1_X_list] element ([j] + [floor1_values]) = 
                  read [rangebits] bits as unsigned integer
             }
 
-       21) [floor1_values] = [floor1_values] + [floor1_class_dimensions] element [i]
+       22) [floor1_values] = [floor1_values] + [floor1_class_dimensions] element [i]
      }
  
- 22) done
+ 23) done
 </pre>
 
 An end-of-packet condition while reading any aspect of a floor 1

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list