mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02: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