1
0
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:
Michael Niedermayer 2013-06-22 21:34:11 +02:00
parent b6ce50a2d4
commit 8689ee0eef

View File

@ -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