diff options
author | Lou Logan <lou@lrcd.com> | 2012-06-28 12:01:06 -0800 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-29 14:54:15 +0200 |
commit | 6851130fd61ff8af615f6270f3a3c8dec7a0cfbd (patch) | |
tree | 47212f8f88c480c3fe9c66c659ad5b922d32389a /libavcodec/g729dec.c | |
parent | 0692d4c890bcefa708b8ee05c9f89baa2b25a22a (diff) | |
download | ffmpeg-6851130fd61ff8af615f6270f3a3c8dec7a0cfbd.tar.gz |
cosmetics: minor libavcodec spelling errors
Also update some common misspelled words in patcheck
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/g729dec.c')
-rw-r--r-- | libavcodec/g729dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/g729dec.c b/libavcodec/g729dec.c index 28100305af..f394184d52 100644 --- a/libavcodec/g729dec.c +++ b/libavcodec/g729dec.c @@ -562,7 +562,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, gain_corr_factor = cb_gain_1st_6k4[gc_1st_index][1] + cb_gain_2nd_6k4[gc_2nd_index][1]; - /* Without check below overflow can occure in ff_acelp_update_past_gain. + /* Without check below overflow can occur in ff_acelp_update_past_gain. It is not issue for G.729, because gain_corr_factor in it's case is always greater than 1024, while in G.729D it can be even zero. */ gain_corr_factor = FFMAX(gain_corr_factor, 1024); @@ -589,7 +589,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, two times larger than in original G.729. If bit-exact result is not issue then gain_corr_factor - can be simpler devided by 2 before call to g729_get_gain_code + can be simpler divided by 2 before call to g729_get_gain_code instead of using correction below. */ if (packet_type == FORMAT_G729D_6K4) { |