Commit 8f5729d5 authored by Michael Niedermayer's avatar Michael Niedermayer

svq1dec: replace /2 by >>1

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0257ac8f
...@@ -142,7 +142,7 @@ static const uint8_t string_table[256] = { ...@@ -142,7 +142,7 @@ static const uint8_t string_table[256] = {
break;\ break;\
/* add child nodes */\ /* add child nodes */\
list[n++] = list[i];\ list[n++] = list[i];\
list[n++] = list[i] + (((level & 1) ? pitch : 1) << ((level / 2) + 1));\ list[n++] = list[i] + (((level & 1) ? pitch : 1) << ((level >> 1) + 1));\
} }
#define SVQ1_ADD_CODEBOOK()\ #define SVQ1_ADD_CODEBOOK()\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment