Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-10-16 19:18:57 +0300
committerPaul B Mahol <onemda@gmail.com>2019-10-16 19:28:32 +0300
commit71bceb06e69c6d54f6c203137c3d7ae54832afe3 (patch)
tree7c13740c477adf3c02260285ebd0319db556f2c4 /libavfilter/avf_abitscope.c
parent4fe4772a584a4b63c986ca18e0b25594b5061b66 (diff)
avfilter/avf_abitscope: fix undefined behaviour
Fixes #8289
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 6a38521b6c..759f821e74 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]++;
}
}