[vlc-devel] [PATCH] bluray: fix macros
Petri Hintukainen
phintuka at gmail.com
Tue Dec 15 09:26:20 CET 2015
---
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 b2bfb05..45ebdd6 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -259,8 +259,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
static demux_t *last_log_handle;
--
2.5.0
More information about the vlc-devel
mailing list