This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avresample: Make sure the even check does not overflow
CC:
libav-stable@libav.org
Bug-Id: CID 732225
tags/n2.5
Luca Barbato
Vittorio Giovara
10 years ago
parent
088eca2816
commit
963f761448
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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)
Write
Preview
Loading…
Cancel
Save