From: Clément Bœsch Date: Thu, 10 Jul 2014 13:29:54 +0000 (+0200) Subject: Fix 2 coeffecient typo X-Git-Tag: n2.4-dev~87 X-Git-Url: http://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff_plain/7e7168b82d0c42ba6895d4ea95da0c7da0f20573 Fix 2 coeffecient typo --- diff --git a/libavcodec/h264.h b/libavcodec/h264.h index bf4255b..228558b 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -496,7 +496,7 @@ typedef struct H264Context { GetBitContext *inter_gb_ptr; const uint8_t *intra_pcm_ptr; - DECLARE_ALIGNED(16, int16_t, mb)[16 * 48 * 2]; ///< as a dct coeffecient is int32_t in high depth, we need to reserve twice the space. + DECLARE_ALIGNED(16, int16_t, mb)[16 * 48 * 2]; ///< as a dct coefficient is int32_t in high depth, we need to reserve twice the space. DECLARE_ALIGNED(16, int16_t, mb_luma_dc)[3][16 * 2]; int16_t mb_padding[256 * 2]; ///< as mb is addressed by scantable[i] and scantable is uint8_t we can either check that i is not too large or ensure that there is some unused stuff after mb diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 1df168b..3f04d8f 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -1032,7 +1032,7 @@ static int unpack_vlcs(Vp3DecodeContext *s, GetBitContext *gb, if (blocks_ended > s->num_coded_frags[plane][coeff_index]) av_log(s->avctx, AV_LOG_ERROR, "More blocks ended than coded!\n"); - // decrement the number of blocks that have higher coeffecients for each + // decrement the number of blocks that have higher coefficients for each // EOB run at this level if (blocks_ended) for (i = coeff_index + 1; i < 64; i++)