diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-07-05 10:11:42 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-07-05 10:11:42 +0000 |
commit | 9906a2be7631ddf7897a4dbe21252c6d60560e6f (patch) | |
tree | 0f6d3d2b773fa6c040d5469d5e9e7dd303fd041d /libavcodec/mlp_parser.c | |
parent | f67c1f4d261bb142ba0e22ec34115cc9d29a5225 (diff) | |
download | ffmpeg-9906a2be7631ddf7897a4dbe21252c6d60560e6f.tar.gz |
spelling cosmetics
Originally committed as revision 14076 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mlp_parser.c')
-rw-r--r-- | libavcodec/mlp_parser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/mlp_parser.c b/libavcodec/mlp_parser.c index 8b0dd5f6c6..3534ea1c10 100644 --- a/libavcodec/mlp_parser.c +++ b/libavcodec/mlp_parser.c @@ -65,8 +65,8 @@ static int truehd_channels(int chanmap) 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 reversed). +/** MLP uses checksums that seem to be based on the standard CRC algorithm, but + * are 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. */ @@ -99,13 +99,13 @@ int ff_mlp_read_major_sync(void *log, MLPHeaderInfo *mh, GetBitContext *gb) assert(get_bits_count(gb) == 0); if (gb->size_in_bits < 28 << 3) { - av_log(log, AV_LOG_ERROR, "Packet too short, unable to read major sync\n"); + av_log(log, AV_LOG_ERROR, "packet too short, unable to read major sync\n"); return -1; } checksum = mlp_checksum16(gb->buffer, 26); if (checksum != AV_RL16(gb->buffer+26)) { - av_log(log, AV_LOG_ERROR, "Major sync info header checksum error\n"); + av_log(log, AV_LOG_ERROR, "major sync info header checksum error\n"); return -1; } |