On Wed, Oct 15, 2014 at 5:32 PM, Vittorio Giovara
<[email protected]> wrote:
> From: Luca Barbato <[email protected]>
>
> CC: [email protected]
> Bug-Id: CID 732225
> ---
>  libavresample/audio_mix_matrix.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavresample/audio_mix_matrix.c 
> b/libavresample/audio_mix_matrix.c
> index 487869b..5182ae1 100644
> --- a/libavresample/audio_mix_matrix.c
> +++ b/libavresample/audio_mix_matrix.c
> @@ -60,7 +60,7 @@
>
>  static av_always_inline int even(uint64_t layout)
>  {
> -    return (!layout || (layout & (layout - 1)));
> +    return (!layout || !!(layout & (layout - 1)));
>  }
>
>  static int sane_layout(uint64_t layout)

Also this one Ok'd by Justin.
-- 
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to