Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-06-21 22:55:20 +0300
committerClément Bœsch <u@pkh.me>2016-06-21 22:55:34 +0300
commit8ef57a0d6154119e1a616dd8c29e8c32e35808a0 (patch)
tree26c51bc5d99260b44ba3a2585091ca764559f939 /libavcodec/intrax8.c
parent373b82066cd4d0c7f42af9b03e8cdc1085e1a6e5 (diff)
parent41ed7ab45fc693f7d7fc35664c0233f4c32d69bb (diff)
Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'
* commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>
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 9af6d1e026..1e881fc567 100644
--- a/libavcodec/intrax8.c
+++ b/libavcodec/intrax8.c
@@ -215,7 +215,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;
}
@@ -249,12 +249,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] = {