vlc | branch: master | Petri Hintukainen <[email protected]> | Tue Dec 15 10:26:20 2015 +0200| [6cf7153b9b682c3629bfc423b7e8e5cbb918e043] | committer: Jean-Baptiste Kempf
bluray: fix macros Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6cf7153b9b682c3629bfc423b7e8e5cbb918e043 --- modules/access/bluray.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/access/bluray.c b/modules/access/bluray.c index a2f276d..2ae7ad6 100644 --- a/modules/access/bluray.c +++ b/modules/access/bluray.c @@ -258,8 +258,8 @@ static int onIntfEvent(vlc_object_t *, char const *, static void blurayResetParser(demux_t *p_demux); -#define FROM_TICKS(a) (a*CLOCK_FREQ / INT64_C(90000)) -#define TO_TICKS(a) (a*INT64_C(90000)/CLOCK_FREQ) +#define FROM_TICKS(a) ((a)*CLOCK_FREQ / INT64_C(90000)) +#define TO_TICKS(a) ((a)*INT64_C(90000)/CLOCK_FREQ) #define CUR_LENGTH p_sys->pp_title[p_demux->info.i_title]->i_length /* */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
