[vlc-devel] [PATCH] Smooth Streaming: fix a macro

Frédéric Yhuel yhuelf at gmail.com
Fri Oct 5 19:36:58 CEST 2012


---
 modules/stream_filter/smooth/smooth.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/stream_filter/smooth/smooth.h b/modules/stream_filter/smooth/smooth.h
index 04d2079..dbc32ed 100644
--- a/modules/stream_filter/smooth/smooth.h
+++ b/modules/stream_filter/smooth/smooth.h
@@ -162,8 +162,8 @@ struct stream_sys_t
 #define SMS_GET_SELECTED_ST( cat ) \
     sms_get_stream_by_cat( p_sys->selected_st, cat )
 
-#define NO_MORE_CHUNKS !p_sys->b_live && \
-    no_more_chunks( p_sys->download.ck_index, p_sys->selected_st )
+#define NO_MORE_CHUNKS ( !p_sys->b_live && \
+    no_more_chunks( p_sys->download.ck_index, p_sys->selected_st ) )
 
 sms_queue_t *sms_queue_init( const int );
 int sms_queue_put( sms_queue_t *, const uint64_t );
-- 
1.7.9.5



More information about the vlc-devel mailing list