aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/intrax8.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-04-27 13:45:23 -0400
committerDiego Biurrun <diego@biurrun.de>2016-05-04 18:16:21 +0200
commit41ed7ab45fc693f7d7fc35664c0233f4c32d69bb (patch)
tree146a086cf7c1881d55f9261b58138983e13af21c /libavcodec/intrax8.c
parent5c31eaa9998b2185e0aa04d11adff128498dc14a (diff)
downloadffmpeg-41ed7ab45fc693f7d7fc35664c0233f4c32d69bb.tar.gz
cosmetics: Fix spelling mistakes
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec/intrax8.c')
-rw-r--r--libavcodec/intrax8.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/intrax8.c b/libavcodec/intrax8.c
index 4d8d5c8456..eb4c1effd8 100644
--- a/libavcodec/intrax8.c
+++ b/libavcodec/intrax8.c
@@ -217,7 +217,7 @@ static void x8_get_ac_rlf(IntraX8Context *const w, const int mode,
int t, l;
if (i < 0) {
*level =
- *final = // prevent 'may be used unilitialized'
+ *final = // prevent 'may be used uninitialized'
*run = 64; // this would cause error exit in the ac loop
return;
}
@@ -251,12 +251,12 @@ static void x8_get_ac_rlf(IntraX8Context *const w, const int mode,
sm = ac_decode_table[i];
e = get_bits(w->gb, sm & 0xF);
- sm >>= 8; // 3bits
+ sm >>= 8; // 3 bits
mask = sm & 0xff;
- sm >>= 8; // 1bit
+ sm >>= 8; // 1 bit
- *run = (sm & 0xff) + (e & mask); // 6bits
- *level = (sm >> 8) + (e & ~mask); // 5bits
+ *run = (sm & 0xff) + (e & mask); // 6 bits
+ *level = (sm >> 8) + (e & ~mask); // 5 bits
*final = i > (58 - 46);
} else if (i < 75) { // [73-74]
static const uint8_t crazy_mix_runlevel[32] = {