diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-08-21 01:02:13 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-05-03 18:26:12 +0200 |
commit | a5f8873620ce502d37d0cc3ef93ada2ea8fb8de7 (patch) | |
tree | f04a20b097c813143cf259c8001cc707fc6024d9 /libavcodec | |
parent | 4a7af92cc80ced8498626401ed21f25ffe6740c8 (diff) | |
download | ffmpeg-a5f8873620ce502d37d0cc3ef93ada2ea8fb8de7.tar.gz |
silly typo fixes
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/aacpsy.c | 3 | ||||
-rw-r--r-- | libavcodec/flac_parser.c | 2 | ||||
-rw-r--r-- | libavcodec/flacenc.c | 2 | ||||
-rw-r--r-- | libavcodec/flicvideo.c | 2 | ||||
-rw-r--r-- | libavcodec/wmavoice.c | 2 | ||||
-rw-r--r-- | libavcodec/x86/fpel_mmx.c | 2 |
6 files changed, 7 insertions, 6 deletions
diff --git a/libavcodec/aacpsy.c b/libavcodec/aacpsy.c index e4b4405144..ec889d7e3d 100644 --- a/libavcodec/aacpsy.c +++ b/libavcodec/aacpsy.c @@ -804,7 +804,8 @@ static FFPsyWindowInfo psy_lame_window(FFPsyContext *ctx, const float *audio, sum1 += psy_fir_coeffs[j] * (firbuf[i + j] + firbuf[i + PSY_LAME_FIR_LEN - j]); sum2 += psy_fir_coeffs[j + 1] * (firbuf[i + j + 1] + firbuf[i + PSY_LAME_FIR_LEN - j - 1]); } - /* NOTE: The LAME psymodel expects it's input in the range -32768 to 32768. Tuning this for normalized floats would be difficult. */ + /* NOTE: The LAME psymodel expects its input in the range -32768 to + * 32768. Tuning this for normalized floats would be difficult. */ hpfsmpl[i] = (sum1 + sum2) * 32768.0f; } diff --git a/libavcodec/flac_parser.c b/libavcodec/flac_parser.c index ee92ee3b0d..155162ad80 100644 --- a/libavcodec/flac_parser.c +++ b/libavcodec/flac_parser.c @@ -27,7 +27,7 @@ * Each time it finds and verifies a CRC-8 header it sees which of the * FLAC_MAX_SEQUENTIAL_HEADERS that came before it have a valid CRC-16 footer * that ends at the newly found header. - * Headers are scored by FLAC_HEADER_BASE_SCORE plus the max of it's crc-verified + * Headers are scored by FLAC_HEADER_BASE_SCORE plus the max of its crc-verified * children, penalized by changes in sample rate, frame number, etc. * The parser returns the frame with the highest score. **/ diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index 1699312c8c..15b0e5530d 100644 --- a/libavcodec/flacenc.c +++ b/libavcodec/flacenc.c @@ -1232,7 +1232,7 @@ static int flac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, frame_bytes = encode_frame(s); - /* fallback to verbatim mode if the compressed frame is larger than it + /* Fall back on verbatim mode if the compressed frame is larger than it would be if encoded uncompressed. */ if (frame_bytes < 0 || frame_bytes > s->max_framesize) { s->frame.verbatim_only = 1; diff --git a/libavcodec/flicvideo.c b/libavcodec/flicvideo.c index 3d43e5e827..9795ff960e 100644 --- a/libavcodec/flicvideo.c +++ b/libavcodec/flicvideo.c @@ -539,7 +539,7 @@ static int flic_decode_frame_15_16BPP(AVCodecContext *avctx, break; case FLI_LC: - av_log(avctx, AV_LOG_ERROR, "Unexpected FLI_LC chunk in non-paletised FLC\n"); + av_log(avctx, AV_LOG_ERROR, "Unexpected FLI_LC chunk in non-palettized FLC\n"); bytestream2_skip(&g2, chunk_size - 6); break; diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c index d03c701639..b9a4ad9f4a 100644 --- a/libavcodec/wmavoice.c +++ b/libavcodec/wmavoice.c @@ -607,7 +607,7 @@ static void calc_input_response(WMAVoiceContext *s, float *lpcs, /* 70.57 =~ 1/log10(1.0331663) */ idx = (pwr * gain_mul - 0.0295) * 70.570526123; - if (idx > 127) { // fallback if index falls outside table range + if (idx > 127) { // fall back if index falls outside table range coeffs[n] = wmavoice_energy_table[127] * powf(1.0331663, idx - 127); } else diff --git a/libavcodec/x86/fpel_mmx.c b/libavcodec/x86/fpel_mmx.c index be64098e0b..1df5a94133 100644 --- a/libavcodec/x86/fpel_mmx.c +++ b/libavcodec/x86/fpel_mmx.c @@ -29,7 +29,7 @@ #if HAVE_MMX_INLINE -// in case more speed is needed - unroling would certainly help +// in case more speed is needed - unrolling would certainly help void ff_avg_pixels8_mmx(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h) { |