title: FFMPEG: av_read_frame() return error AVERROR_EXIT?
body: <p>I'm using <code>FFMPEG</code> to decode <code>H264</code> stream from IP Camera. Sometimes the function <code>av_read_frame()</code> return error <code>AVERROR_EXIT</code>. </p>
  
  <p>I tested with two cameras. In here, the camera in <code>LAN network</code> worked fine with no error, but the camera in <code>WAN network</code> usually return <code>AVERROR_EXIT</code>.</p>
  
  <p>I have searched on the internet, but I didn't find the solution yet.</p>
  
  <p>Someone can show me the problem?</p>
  
  <p>Thanks,</p>
  
  <p>T&amp;T</p>