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:
authorJames Almer <jamrial@gmail.com>2015-07-20 06:04:38 +0300
committerJames Almer <jamrial@gmail.com>2015-07-20 06:05:20 +0300
commit6de5b6cd861639ad7238b9cf629f50669fc6dd0c (patch)
treeab2fda04748eb879d6446e4b4c9aea9db1176cfc /libavfilter/af_astats.c
parent9ebe041e1ca898ed725051460961f1fda5f7a20b (diff)
avfilter/af_astats: use UINT64_C instead of the LLU suffix
Should fix compilation with vs2012 Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/af_astats.c')
-rw-r--r--libavfilter/af_astats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_astats.c b/libavfilter/af_astats.c
index e38d66b008..b17d6631db 100644
--- a/libavfilter/af_astats.c
+++ b/libavfilter/af_astats.c
@@ -167,7 +167,7 @@ static inline void update_stat(AudioStatsContext *s, ChannelStats *p, double d)
p->max_diff = FFMAX(p->max_diff, FFABS(d - (p->max_diff == -1 ? d : p->last)));
p->diff1_sum += FFABS(d - p->last);
p->last = d;
- p->mask |= llrint(d * (1LLU<<63));
+ p->mask |= llrint(d * (UINT64_C(1) << 63));
if (p->nb_samples >= s->tc_samples) {
p->max_sigma_x2 = FFMAX(p->max_sigma_x2, p->avg_sigma_x2);