diff --git a/contrib/build_all.bat b/contrib/build_all.bat
index 86f0885b4bc13d5ee7ab5e3e2ab9e1e42426095b..9cc3f61902fec8d7c3a5739fceed1fae5aefa96f 100644
--- a/contrib/build_all.bat
+++ b/contrib/build_all.bat
@@ -235,6 +235,7 @@ if /I %1 equ ffmpeg (
 ) else (
     msbuild %CONTRIB_DIR%%1 %MSBUILD_ARGS%
 )
+goto :eof
 
 :build_restbed
 :: build openssl