aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mlp_parser.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-12-03 11:03:16 +0000
committerDiego Biurrun <diego@biurrun.de>2007-12-03 11:03:16 +0000
commitf2c68f9c7e4314f0cf7e7642bc88fb76c4727487 (patch)
treed144fee669d831d97cfa846e36c5dee9c3ac5867 /libavcodec/mlp_parser.c
parent44fb8ebb6214a51e0e672fd29df78aebbf1cff8a (diff)
downloadffmpeg-f2c68f9c7e4314f0cf7e7642bc88fb76c4727487.tar.gz
cosmetics: spelling fixes
Originally committed as revision 11155 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mlp_parser.c')
-rw-r--r--libavcodec/mlp_parser.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/mlp_parser.c b/libavcodec/mlp_parser.c
index c946fcf743..96dbc5943f 100644
--- a/libavcodec/mlp_parser.c
+++ b/libavcodec/mlp_parser.c
@@ -66,8 +66,8 @@ static int crc_init = 0;
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 @@ 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
- // 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 @@ static int mlp_parse(AVCodecParserContext *s,
}
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 {