vlc | branch: master | Steve Lhomme <[email protected]> | Tue Jul 3 10:54:50 2018 +0200| [064ed73ff7d93836618f24753d6e3941966f02c9] | committer: Steve Lhomme
include: replace hardcoded CLOCK_FREQ fractions/multiples by VLC_TICK macros > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=064ed73ff7d93836618f24753d6e3941966f02c9 --- include/vlc_aout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vlc_aout.h b/include/vlc_aout.h index d546ee44a2..968383241f 100644 --- a/include/vlc_aout.h +++ b/include/vlc_aout.h @@ -35,7 +35,7 @@ /* Buffers which arrive in advance of more than AOUT_MAX_ADVANCE_TIME * will be considered as bogus and be trashed */ -#define AOUT_MAX_ADVANCE_TIME (AOUT_MAX_PREPARE_TIME + CLOCK_FREQ) +#define AOUT_MAX_ADVANCE_TIME (AOUT_MAX_PREPARE_TIME + VLC_TICK_FROM_SEC(1)) /* Buffers which arrive in advance of more than AOUT_MAX_PREPARE_TIME * will cause the calling thread to sleep */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
