title: How to make C++ function return to its first line?
body: <p>So I have a function inside a win32 C++ console application like:</p>
  
  <pre><code>void initFFmpeg(string url ,string container, int w, int h, int fps)
  {// we want to return here
  
      encoder.SetConstants(fps, videoWidth, videoHeight, audioSampleRate);
  
      // ... more code...
  
      if (encoder.InitUrl(container, url, outputUserName) == -1)
      {
               // ...some more code...
               // Now we want to return
      } 
      // ... more code...
  }
  </code></pre>
  
  <p>how to enable such returns?</p>