Commit 8689ee0e authored by Michael Niedermayer's avatar Michael Niedermayer

sonic: simplify shift_down()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b6ce50a2
......@@ -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
......
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