Browse Source

Merge commit '963f76144897d3f7684d82ec21e51dd50ea1106e'

* commit '963f76144897d3f7684d82ec21e51dd50ea1106e':
  avresample: Make sure the even check does not overflow

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Michael Niedermayer 10 years ago
parent
commit
85cf049d50
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavresample/audio_mix_matrix.c

+ 1
- 1
libavresample/audio_mix_matrix.c View File

@@ -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)


Loading…
Cancel
Save