Browse Source

sonic: simplify shift_down()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
8689ee0eef
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/sonic.c

+ 1
- 1
libavcodec/sonic.c 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


Loading…
Cancel
Save