[FFmpeg-cvslog] r14047 - trunk/libavcodec/mlp_parser.c
ramiro
subversion
Wed Jul 2 14:24:52 CEST 2008
Author: ramiro
Date: Wed Jul 2 14:24:50 2008
New Revision: 14047
Log:
Clarify comment about parity nibble.
Modified:
trunk/libavcodec/mlp_parser.c
Modified: trunk/libavcodec/mlp_parser.c
==============================================================================
--- trunk/libavcodec/mlp_parser.c (original)
+++ trunk/libavcodec/mlp_parser.c Wed Jul 2 14:24:50 2008
@@ -238,7 +238,8 @@ static int mlp_parse(AVCodecParserContex
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;
More information about the ffmpeg-cvslog
mailing list