[vlc-commits] smooth: remove logical no-op

Rémi Denis-Courmont git at videolan.org
Thu Jul 9 18:33:21 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul  9 19:24:06 2015 +0300| [1cf67e2fbb2fc24c118fff2a89d58dfef87b3dde] | committer: Rémi Denis-Courmont

smooth: remove logical no-op

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

 modules/stream_filter/smooth/smooth.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/stream_filter/smooth/smooth.c b/modules/stream_filter/smooth/smooth.c
index e69dc70..32f3311 100644
--- a/modules/stream_filter/smooth/smooth.c
+++ b/modules/stream_filter/smooth/smooth.c
@@ -708,12 +708,6 @@ static unsigned int sms_Read( stream_t *s, uint8_t *p_read, unsigned int i_read
 
         if( chunk->read_pos >= chunk->size )
         {
-            if( chunk->type == VIDEO_ES ||
-                ( !SMS_GET_SELECTED_ST( VIDEO_ES ) && chunk->type == AUDIO_ES ) )
-            {
-                vlc_cond_signal( &p_sys->download.wait );
-            }
-
             if ( b_isinitchunk )
             {
                 assert( chunk->read_pos == chunk->size );



More information about the vlc-commits mailing list