[vlc-commits] input: Add missing return

Hugo Beauzée-Luyssen git at videolan.org
Wed Sep 20 10:11:59 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Sep 20 10:03:05 2017 +0200| [bcc7343ceb860681e2cd6704e3831a291d102445] | committer: Hugo Beauzée-Luyssen

input: Add missing return

CID #1456968

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

 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 cc29975e78..77e1490272 100644
--- a/src/input/control.c
+++ b/src/input/control.c
@@ -567,7 +567,7 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
             vlc_renderer_item_t* p_item = va_arg( args, vlc_renderer_item_t* );
             val.p_address = p_item;
             input_ControlPush( p_input, INPUT_CONTROL_SET_RENDERER, &val );
-            break;
+            return VLC_SUCCESS;
         }
 
         default:



More information about the vlc-commits mailing list