vlc | branch: master | Matthew Whitworth <mwhitwo...@gmail.com> | Fri Mar  2 
16:46:44 2018 +0100| [af200697ac5627a6bece89b4168b05420353216f] | committer: 
Hugo Beauzée-Luyssen

control: size_t is an unsigned integer

Signed-off-by: Hugo Beauzée-Luyssen <h...@beauzee.fr>

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

 src/input/control.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/input/control.c b/src/input/control.c
index 2b2f7108f1..1a70e1e189 100644
--- a/src/input/control.c
+++ b/src/input/control.c
@@ -543,7 +543,7 @@ int input_vaControl( input_thread_t *p_input, int i_query, 
va_list args )
             size_t *pi_vout = va_arg( args, size_t * );
 
             input_resource_HoldVouts( priv->p_resource, ppp_vout, pi_vout );
-            if( *pi_vout <= 0 )
+            if( *pi_vout == 0 )
                 return VLC_EGENERIC;
             return VLC_SUCCESS;
         }

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to