summaryrefslogtreecommitdiffstats
path: root/libavfilter/avf_abitscope.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/avf_abitscope.c')
-rw-r--r--libavfilter/avf_abitscope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_abitscope.c b/libavfilter/avf_abitscope.c
index 6a38521..759f821 100644
--- a/libavfilter/avf_abitscope.c
+++ b/libavfilter/avf_abitscope.c
@@ -142,7 +142,7 @@ static void count_bits(AudioBitScopeContext *s, uint32_t sample, int max)
int i;
for (i = 0; i < max; i++) {
- if (sample & (1 << i))
+ if (sample & (1U << i))
s->counter[i]++;
}
}
OpenPOWER on IntegriCloud