mathops: Drop disabled alternative mid_pred() implementation

This commit is contained in:
Diego Biurrun 2016-08-01 20:15:07 +02:00
parent be3363f664
commit be1db21ba8
1 changed files with 0 additions and 10 deletions

View File

@ -99,15 +99,6 @@ static av_always_inline unsigned UMULH(unsigned a, unsigned b){
#define mid_pred mid_pred
static inline av_const int mid_pred(int a, int b, int c)
{
#if 0
int t= (a-b)&((a-b)>>31);
a-=t;
b+=t;
b-= (b-c)&((b-c)>>31);
b+= (a-b)&((a-b)>>31);
return b;
#else
if(a>b){
if(c>b){
if(c>a) b=a;
@ -120,7 +111,6 @@ static inline av_const int mid_pred(int a, int b, int c)
}
}
return b;
#endif
}
#endif