# HG changeset patch # User ramiro # Date 1215001490 0 # Node ID a82e7d9c8c343985b38f59a9aee39f13c5e514d1 # Parent ae78650d4ac8e8463e64755db3e16b737b9e64a2 Clarify comment about parity nibble. diff -r ae78650d4ac8 -r a82e7d9c8c34 mlp_parser.c --- 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;