From 80f391aa3b3721c6c4e1ea439b7dbc05d2ef5504 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Tue, 8 May 2018 18:22:58 +0900 Subject: [PATCH] qtdemux: Add parentheses in macro https://bugzilla.gnome.org/show_bug.cgi?id=684790 --- gst/isomp4/qtdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 846f28cfec..8ca345ffab 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -96,7 +96,7 @@ #define QTDEMUX_TREE_NODE_FOURCC(n) (QT_FOURCC(((guint8 *) (n)->data) + 4)) -#define STREAM_IS_EOS(s) (s->time_position == GST_CLOCK_TIME_NONE) +#define STREAM_IS_EOS(s) ((s)->time_position == GST_CLOCK_TIME_NONE) #define ABSDIFF(x, y) ( (x) > (y) ? ((x) - (y)) : ((y) - (x)) )