diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-04-22 18:28:10 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-04-22 18:28:10 +0200 |
commit | 2ed8f2e503c19e4edae73e458414e5a0fe9cf9cd (patch) | |
tree | 62cb8d627fa51379fb6ba4a0d7e0a44c3aa10312 /gst/audioresample | |
parent | 03ba34f3a8b51c3bc98632d3e76ae46b828ec5ed (diff) | |
download | gstreamer-plugins-base-2ed8f2e503c19e4edae73e458414e5a0fe9cf9cd.tar.gz |
audioresample: Don't left-shift into the sign bit, instead use unsigned integers
Diffstat (limited to 'gst/audioresample')
-rw-r--r-- | gst/audioresample/resample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/audioresample/resample.c b/gst/audioresample/resample.c index ee6761793..d4df97902 100644 --- a/gst/audioresample/resample.c +++ b/gst/audioresample/resample.c @@ -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)); } } |