mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
audioresample: Don't left-shift into the sign bit, instead use unsigned integers
This commit is contained in:
parent
03ba34f3a8
commit
2ed8f2e503
1 changed files with 1 additions and 1 deletions
|
@ -1046,7 +1046,7 @@ speex_resampler_init_frac (spx_uint32_t nb_channels, spx_uint32_t ratio_num,
|
|||
unsigned int flags = orc_target_get_default_flags (target);
|
||||
check_insn_set (st, orc_target_get_name (target));
|
||||
for (i = 0; i < 32; ++i) {
|
||||
if (flags & (1 << i)) {
|
||||
if (flags & (1U << i)) {
|
||||
check_insn_set (st, orc_target_get_flag_name (target, i));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue