summaryrefslogtreecommitdiff
path: root/doc/html/format.html
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2009-01-07 06:54:05 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2009-01-07 06:54:05 +0000
commitbd161c61fa665fb4e91485e2107946f73affcdb8 (patch)
treeaecb715291f46f3ca0774e605e2346bf8106dc8c /doc/html/format.html
parentee51fc0bae47244060fa966bccf4b82d0a5e394e (diff)
downloadflac-bd161c61fa665fb4e91485e2107946f73affcdb8.tar.gz
Improve decoder's ability to distinguish between a FLAC sync code and an MPEG one (SF #2491433 https://sourceforge.net/tracker2/?func=detail&aid=2491433&group_id=13478&atid=113478
Diffstat (limited to 'doc/html/format.html')
-rw-r--r--doc/html/format.html17
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/html/format.html b/doc/html/format.html
index 98b30b0a..a9294dba 100644
--- a/doc/html/format.html
+++ b/doc/html/format.html
@@ -1121,7 +1121,7 @@
&lt;1&gt;
</td>
<td>
- Reserved:<br />
+ Reserved: <a href="#frame_header_notes">[1]</a><br />
<ul>
<li>
<tt>0</tt> : mandatory value
@@ -1137,7 +1137,7 @@
&lt;1&gt;
</td>
<td>
- Blocking strategy:<br />
+ Blocking strategy: <a href="#frame_header_notes">[2]</a> <a href="#frame_header_notes">[3]</a><br />
<ul>
<li>
<tt>0</tt> : fixed-blocksize stream; frame header encodes the frame number
@@ -1325,9 +1325,9 @@
</td>
<td>
if(variable blocksize)<br />
- &nbsp;&nbsp;&nbsp;&lt;8-56&gt;:"UTF-8" coded sample number (decoded number is 36 bits)<br />
+ &nbsp;&nbsp;&nbsp;&lt;8-56&gt;:"UTF-8" coded sample number (decoded number is 36 bits) <a href="#frame_header_notes">[4]</a><br />
else<br />
- &nbsp;&nbsp;&nbsp;&lt;8-48&gt;:"UTF-8" coded frame number (decoded number is 31 bits)
+ &nbsp;&nbsp;&nbsp;&lt;8-48&gt;:"UTF-8" coded frame number (decoded number is 31 bits) <a href="#frame_header_notes">[4]</a>
</td>
</tr>
<tr>
@@ -1360,8 +1360,11 @@
<td>
</td>
<td bgcolor="#F4F4CC">
- <font size="+1">NOTES</font><br />
- <ul>
+ <a name="frame_header_notes"><font size="+1">NOTES</font></a><br />
+ <ol>
+ <li>
+ This bit must remain reserved for <tt>0</tt> in order for a FLAC frame's initial 15 bits to be distinguishable from the start of an MPEG audio frame (<a href="http://lists.xiph.org/pipermail/flac-dev/2008-December/002607.html">see also</a>).
+ </li>
<li>
The "blocking strategy" bit must be the same throughout the entire stream.
</li>
@@ -1371,7 +1374,7 @@
<li>
The "UTF-8" coding used for the sample/frame number is the same variable length code used to store compressed UCS-2, extended to handle larger input.
</li>
- </ul>
+ </ol>
</td>
</tr>
</table>