On 02/08/16 12:28, Diego Biurrun wrote:
> ---
>  libavcodec/mathops.h | 10 ----------
>  1 file changed, 10 deletions(-)
> 
> diff --git a/libavcodec/mathops.h b/libavcodec/mathops.h
> index bd85dd7..0afc82a 100644
> --- a/libavcodec/mathops.h
> +++ b/libavcodec/mathops.h
> @@ -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
>  
> 

Probably Ok, that file would enjoy some cleaning...
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to