mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-27 05:20:48 +00:00
avfilter/af_astats: use UINT64_C instead of the LLU suffix
Should fix compilation with vs2012 Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
9ebe041e1c
commit
6de5b6cd86
@ -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->max_diff = FFMAX(p->max_diff, FFABS(d - (p->max_diff == -1 ? d : p->last)));
|
||||||
p->diff1_sum += FFABS(d - p->last);
|
p->diff1_sum += FFABS(d - p->last);
|
||||||
p->last = d;
|
p->last = d;
|
||||||
p->mask |= llrint(d * (1LLU<<63));
|
p->mask |= llrint(d * (UINT64_C(1) << 63));
|
||||||
|
|
||||||
if (p->nb_samples >= s->tc_samples) {
|
if (p->nb_samples >= s->tc_samples) {
|
||||||
p->max_sigma_x2 = FFMAX(p->max_sigma_x2, p->avg_sigma_x2);
|
p->max_sigma_x2 = FFMAX(p->max_sigma_x2, p->avg_sigma_x2);
|
||||||
|
Loading…
Reference in New Issue
Block a user