mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-26 08:41:38 +00:00
Merge commit 'c246b0b4c3a3b02a714e99423cf23d59f8f81409' into release/2.4
* commit 'c246b0b4c3a3b02a714e99423cf23d59f8f81409': avresample: Make sure the even check does not overflow Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
adfb4661d9
@ -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…
Reference in New Issue
Block a user