# HG changeset patch # User diego # Date 1196679796 0 # Node ID 3055403f0e5745e194700bb603e3a860a7d3b981 # Parent fd27370e7dbfd121987ef87eed4a7289a6c3a1aa cosmetics: spelling fixes diff -r fd27370e7dbf -r 3055403f0e57 mlp_parser.c --- a/mlp_parser.c Mon Dec 03 10:02:26 2007 +0000 +++ b/mlp_parser.c Mon Dec 03 11:03:16 2007 +0000 @@ -66,8 +66,8 @@ static AVCRC crc_2D[1024]; /** MLP uses checksums that seem to be based on the standard CRC algorithm, - * but not (in implementation terms, the table lookup and XOR are reversedi). - * We can implement this behaviour using a standard av_crc on all but the + * but not (in implementation terms, the table lookup and XOR are reversed). + * We can implement this behavior using a standard av_crc on all but the * last element, then XOR that with the last element. */ @@ -239,8 +239,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 - // Only check when this isn't a sync frame - syncs have a checksum + // First nibble of a frame is a parity check of the first few nibbles. + // Only check when this isn't a sync frame - syncs have a checksum. parity_bits = 0; for (i = 0; i <= mp->num_substreams; i++) { @@ -254,7 +254,7 @@ } if ((((parity_bits >> 4) ^ parity_bits) & 0xF) != 0xF) { - av_log(avctx, AV_LOG_INFO, "mlpparse: parity check failed\n"); + av_log(avctx, AV_LOG_INFO, "mlpparse: Parity check failed.\n"); goto lost_sync; } } else {