qtdemux: Add parentheses in macro
authorSeungha Yang <seungha.yang@navercorp.com>
Tue, 8 May 2018 09:22:58 +0000 (18:22 +0900)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 10 May 2018 06:09:20 +0000 (08:09 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=684790

gst/isomp4/qtdemux.c

index 846f28c..8ca345f 100644 (file)
@@ -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)) )