mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
sonic: simplify shift_down()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b6ce50a2d4
commit
8689ee0eef
@ -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…
Reference in New Issue
Block a user