X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Famrnbdec.c;h=ea299acd4e0cfb52f3fbcd9dd9984295300ef2b1;hb=c8c402201ad99b0ea8bfe717fef4621d97b85762;hp=2299a253ab03e5cecdcd43f8f9daa0838e57b1f0;hpb=fabdb7505a7b8b8bb15c2f3b652a4fb03a8dd6f3;p=ffmpeg diff --git a/libavcodec/amrnbdec.c b/libavcodec/amrnbdec.c index 2299a253ab0..ea299acd4e0 100644 --- a/libavcodec/amrnbdec.c +++ b/libavcodec/amrnbdec.c @@ -547,13 +547,13 @@ static void decode_fixed_sparse(AMRFixed *fixed_sparse, const uint16_t *pulses, * @param p the context * @param subframe unpacked amr subframe * @param mode mode of the current frame - * @param fixed_sparse sparse respresentation of the fixed vector + * @param fixed_sparse sparse representation of the fixed vector */ static void pitch_sharpening(AMRContext *p, int subframe, enum Mode mode, AMRFixed *fixed_sparse) { // The spec suggests the current pitch gain is always used, but in other - // modes the pitch and codebook gains are joinly quantized (sec 5.8.2) + // modes the pitch and codebook gains are jointly quantized (sec 5.8.2) // so the codebook gain cannot depend on the quantized pitch gain. if (mode == MODE_12k2) p->beta = FFMIN(p->pitch_gain[4], 1.0);