projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03ba34f
)
audioresample: Don't left-shift into the sign bit, instead use unsigned integers
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 22 Apr 2014 16:28:10 +0000
(18:28 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 22 Apr 2014 16:28:10 +0000
(18:28 +0200)
gst/audioresample/resample.c
patch
|
blob
|
history
diff --git
a/gst/audioresample/resample.c
b/gst/audioresample/resample.c
index
ee67617
..
d4df979
100644
(file)
--- 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 & (1
U
<< i)) {
check_insn_set (st, orc_target_get_flag_name (target, i));
}
}