aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <clement@stupeflix.com>2014-07-10 15:29:54 +0200
committerClément Bœsch <clement@stupeflix.com>2014-07-10 15:29:54 +0200
commit7e7168b82d0c42ba6895d4ea95da0c7da0f20573 (patch)
tree18fbe89a69f99cdf51be4fadae9dcfcccf273331
parenteca1957c4cbee66a0b1f3dcabaffe68d61885f16 (diff)
downloadffmpeg-7e7168b82d0c42ba6895d4ea95da0c7da0f20573.tar.gz
Fix 2 coeffecient typo
-rw-r--r--libavcodec/h264.h2
-rw-r--r--libavcodec/vp3.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index bf4255bbfd..228558b6f4 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 1df168bd50..3f04d8f258 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++)