title: Decoding UDP Streams with LibAV: Insufficient Buffer Size
body: <p>I'm attempting to using the libav libraries with Qt to decode h.264 UDP video streams, but when I use avformat_open_file, I get the following error message: </p>
  
  <pre><code>[udp @ 0x102b5bee0] Part of datagram lost due to insufficient buffer size
  </code></pre>
  
  <p>The message appears about 10 times and then the attempt fails. I'm trying to decode 4 different UDP streams simultaneously, each stream with a frame rate of 25fps. Wireshark indicates that the packets are between 3000 and 10000 bytes. </p>
  
  <p>Here is my call to avformat_open_input:</p>
  
  <pre><code>avformat_open_input(&amp;formatContext, udpUrl.toStdString().c_str(), NULL, NULL)
  </code></pre>
  
  <p>formatContext is NULL at the time that this call is made, and udpUrl is in the format "udp://ipaddress:port".</p>
  
  <p>If someone could shed some light on this issue for me it would be greatly appreciated!</p>