]> git.sesse.net Git - ffmpeg/commitdiff
Clarify comment about parity nibble.
authorRamiro Polla <ramiro.polla@gmail.com>
Wed, 2 Jul 2008 12:24:50 +0000 (12:24 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Wed, 2 Jul 2008 12:24:50 +0000 (12:24 +0000)
Originally committed as revision 14047 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mlp_parser.c

index daa3c4e2aa0e6fa2f97d985f50d768afa702e21f..8b0dd5f6c6542c7fcc463fe03f4cf71f3040308a 100644 (file)
@@ -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;