Commit 5faf3a44 authored by Ramiro Polla's avatar Ramiro Polla
Browse files

Clarify comment about parity nibble.

Originally committed as revision 14047 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent fba7815d
......@@ -238,7 +238,8 @@ static int mlp_parse(AVCodecParserContext *s,
sync_present = (AV_RB32(buf + 4) & 0xfffffffe) == 0xf8726fba;
if (!sync_present) {
// First nibble of a frame is a parity check of the first few nibbles.
/* The first nibble of a frame is a parity check of the 4-byte
* access unit header and all the 2- or 4-byte substream headers. */
// Only check when this isn't a sync frame - syncs have a checksum.
parity_bits = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment