svq1dec: replace /2 by >>1
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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()\
|
||||||
|
Reference in New Issue
Block a user