title: ffmpeg avformat_open_input always returns "Protocol not found" rv=(-1330794744)
body: <p>Trying to get ffmpeg working in Visual Studio 2010. So far all ffmpeg headers and libs are loaded, no error or warning occurs. </p>
  
  <pre><code>avcodec_register_all();
  AVFormatContext *pFormatCtx = NULL;
  char errbuf[256];
  pFormatCtx = avformat_alloc_context();
  int rv = avformat_open_input(&amp;pFormatCtx, "myfile.ext", NULL, NULL);
  if (rv!=0){                              
      av_strerror(rv, errbuf, sizeof(errbuf));
  }
  </code></pre>
  
  <p>The problem is, avformat_open_input always returning -1330794744 (errbuf="Protocol not found"). Tried x86 &amp; x64 headers and libs on 32bit XP and 64bit W7. Whatever I put for "myfile.ext" (tried "file1.avi", "file=c:\file1.avi", "<a href="http://www.someweb.com/file1.avi" rel="noreferrer">http://www.someweb.com/file1.avi</a>", and even empty char* "") response is always "Protocol not found". Any ideas?</p>