Mercurial > libavcodec.hg
changeset 7177:a82e7d9c8c34 libavcodec
Clarify comment about parity nibble.
author | ramiro |
---|---|
date | Wed, 02 Jul 2008 12:24:50 +0000 |
parents | ae78650d4ac8 |
children | 9a31b6a8ae52 |
files | mlp_parser.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mlp_parser.c Tue Jul 01 01:36:16 2008 +0000 +++ b/mlp_parser.c Wed Jul 02 12:24:50 2008 +0000 @@ -238,7 +238,8 @@ 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;