sonic: simplify shift_down()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b6ce50a2d4
commit
8689ee0eef
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ static inline int shift(int a,int b)
|
|||
|
||||
static inline int shift_down(int a,int b)
|
||||
{
|
||||
return (a>>b)+((a<0)?1:0);
|
||||
return (a>>b)+(a<0);
|
||||
}
|
||||
|
||||
#if 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue