[vlc-commits] Smooth Streaming: fix a macro

Frédéric Yhuel git at videolan.org
Fri Oct 5 19:39:03 CEST 2012


vlc | branch: master | Frédéric Yhuel <yhuelf at gmail.com> | Fri Oct  5 19:36:58 2012 +0200| [a5fdae9645e25cfac689d79963caeb7b8ec43ebe] | committer: Jean-Baptiste Kempf

Smooth Streaming: fix a macro

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a5fdae9645e25cfac689d79963caeb7b8ec43ebe
---

 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 );



More information about the vlc-commits mailing list