Commit adfb4661 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'c246b0b4' into release/2.4

* commit 'c246b0b4':
  avresample: Make sure the even check does not overflow
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents b4004124 c246b0b4
......@@ -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)
......
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