Commit 87cd8dc0 authored by Clément Bœsch's avatar Clément Bœsch

Merge commit 'be1db21b'

* commit 'be1db21b':
  mathops: Drop disabled alternative mid_pred() implementation
Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents 56d63208 be1db21b
......@@ -97,15 +97,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;
......@@ -118,7 +109,6 @@ static inline av_const int mid_pred(int a, int b, int c)
}
}
return b;
#endif
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment