summaryrefslogtreecommitdiff
path: root/file/Magdir/vorbis
diff options
context:
space:
mode:
Diffstat (limited to 'file/Magdir/vorbis')
-rw-r--r--file/Magdir/vorbis82
1 files changed, 41 insertions, 41 deletions
diff --git a/file/Magdir/vorbis b/file/Magdir/vorbis
index dab2c3b07..5e4084285 100644
--- a/file/Magdir/vorbis
+++ b/file/Magdir/vorbis
@@ -26,47 +26,47 @@
>>>>39 ubyte 2 stereo,
>>>>39 ubyte >2 %u channels,
>>>>40 lelong x %lu Hz
-## Minimal, nominal and maximal bitrates specified when encoding
-#>>>>48 string <\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff \b,
-## The above tests if at least one of these is specified:
-#>>>>>44 lelong !-1
-## Vorbis RC2 has a bug which puts -1000 in the min/max bitrate fields
-## instead of -1.
-#>>>>>>44 lelong !-1000
-#>>>>>>>44 lelong x >%lu
-#>>>>>48 lelong !-1
-#>>>>>>48 lelong x ~%lu
-#>>>>>52 lelong !-1
-#>>>>>>52 lelong !-1000
-#>>>>>>>52 lelong x <%lu
-#>>>>>48 string <\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff kbps
-## -- Second vorbis header packet - the comments
-## A kludge to read the vendor string. It's a counted string, not a
-## zero-terminated one, so file(1) can't read it in a generic way.
-## libVorbis is the only one existing currently, so I detect specifically
-## it. The interesting value is the cvs date (8 digits decimal).
-## Post-RC1 Ogg files have the second header packet (and thus the version)
-## in a different place, so we must use an indirect offset.
-#>>>(84.b+85) string \x03vorbis
-#>>>>(84.b+96) string/c Xiphophorus\ libVorbis\ I \b, created by: Xiphophorus libVorbis I
-#>>>>>(84.b+120) string >00000000 %.8s
-## Map to beta version numbers:
-#>>>>>>(84.b+120) string <20000508 (<beta1 - prepublic)
-#>>>>>>(84.b+120) string 20000508 (beta1/2)
-#>>>>>>(84.b+120) string >20000508
-#>>>>>>>(84.b+120) string <20001031 (beta2-3)
-#>>>>>>(84.b+120) string 20001031 (beta3)
-#>>>>>>(84.b+120) string >20001031
-#>>>>>>>(84.b+120) string <20010225 (beta3-4)
-#>>>>>>(84.b+120) string 20010225 (beta4)
-#>>>>>>(84.b+120) string >20010225
-#>>>>>>>(84.b+120) string <20010615 (beta4-RC1)
-#>>>>>>(84.b+120) string 20010615 (RC1)
-#>>>>>>(84.b+120) string 20010813 (RC2)
-#>>>>>>(84.b+120) string 20010816 (RC2 - Garf tuned v1)
-#>>>>>>(84.b+120) string 20011014 (RC2 - Garf tuned v2)
-#>>>>>>(84.b+120) string 20011217 (pre-RC3 CVS)
-#>>>>>>(84.b+120) string 20011231 (RC3)
+# Minimal, nominal and maximal bitrates specified when encoding
+>>>>48 string <\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff \b,
+# The above tests if at least one of these is specified:
+>>>>>44 lelong !-1
+# Vorbis RC2 has a bug which puts -1000 in the min/max bitrate fields
+# instead of -1.
+>>>>>>44 lelong !-1000
+>>>>>>>44 lelong x >%lu
+>>>>>48 lelong !-1
+>>>>>>48 lelong x ~%lu
+>>>>>52 lelong !-1
+>>>>>>52 lelong !-1000
+>>>>>>>52 lelong x <%lu
+>>>>>48 string <\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff kbps
+# -- Second vorbis header packet - the comments
+# A kludge to read the vendor string. It's a counted string, not a
+# zero-terminated one, so file(1) can't read it in a generic way.
+# libVorbis is the only one existing currently, so I detect specifically
+# it. The interesting value is the cvs date (8 digits decimal).
+# Post-RC1 Ogg files have the second header packet (and thus the version)
+# in a different place, so we must use an indirect offset.
+>>>(84.b+85) string \x03vorbis
+>>>>(84.b+96) string/c Xiphophorus\ libVorbis\ I \b, created by: Xiphophorus libVorbis I
+>>>>>(84.b+120) string >00000000 %.8s
+# Map to beta version numbers:
+>>>>>>(84.b+120) string <20000508 (<beta1 - prepublic)
+>>>>>>(84.b+120) string 20000508 (beta1/2)
+>>>>>>(84.b+120) string >20000508
+>>>>>>>(84.b+120) string <20001031 (beta2-3)
+>>>>>>(84.b+120) string 20001031 (beta3)
+>>>>>>(84.b+120) string >20001031
+>>>>>>>(84.b+120) string <20010225 (beta3-4)
+>>>>>>(84.b+120) string 20010225 (beta4)
+>>>>>>(84.b+120) string >20010225
+>>>>>>>(84.b+120) string <20010615 (beta4-RC1)
+>>>>>>(84.b+120) string 20010615 (RC1)
+>>>>>>(84.b+120) string 20010813 (RC2)
+>>>>>>(84.b+120) string 20010816 (RC2 - Garf tuned v1)
+>>>>>>(84.b+120) string 20011014 (RC2 - Garf tuned v2)
+>>>>>>(84.b+120) string 20011217 (pre-RC3 CVS)
+>>>>>>(84.b+120) string 20011231 (RC3)
# The string has not changed from beta1 to 2 - they are indistinguishable.
# Then come the comments, again length-counted (and number-counted).
# Some looping constructs and registers would allow reading them but now