"Ronald S. Bultje" <[email protected]> writes:

> From: "Ronald S. Bultje" <[email protected]>
>
> ---
>  libavcodec/aacdec.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
> index 1c59ec5..bf99cc3 100644
> --- a/libavcodec/aacdec.c
> +++ b/libavcodec/aacdec.c
> @@ -1257,9 +1257,10 @@ static inline float *VMUL4S(float *dst, const float 
> *v, unsigned idx,
>                              unsigned sign, const float *scale)
>  {
>      unsigned nz = idx >> 12;
> -    union av_intfloat32 s = { .f = *scale };
> +    union av_intfloat32 s;
>      union av_intfloat32 t;
>  
> +    s.f = *scale;
>      t.i = s.i ^ (sign & 1U<<31);
>      *dst++ = v[idx    & 3] * t.f;
>  
> -- 

That is not a simplification.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to