title: FFmpeg can't decode H264 stream/frame data
body: <p>Recently I had chance to work with two devices that are streaming the H264 through RTSP.
  And I've ran into some problem trying to decompress this stream using FFmpeg library.</p>
  
  <p>Every time the "<strong>avcodec_decode_video2</strong>" is called - FFmpeg just says something like:</p>
  
  <blockquote>
    <p>[h264 @ 00339220] no frame!</p>
  </blockquote>
  
  <p>My raw H264 stream <strong>I</strong> frame data starts like this: "<strong>65</strong> 88 84 21 3F F8 F8 0D..."
  (as far as I understand this 0x65 indicates that it's a IDR frame?)</p>
  
  <p>Other frames for one device starts like: "<strong>41</strong> 9A 22 07 F3 4E 48 CC...."</p>
  
  <p>and for other device - like this: "<strong>61</strong> 9A 25 C1 1C 45 62 39...."</p>
  
  <ul>
  <li>Am I missing some frame data here? </li>
  <li>Does FFmpeg needs to have some extra parameters set up?</li>
  </ul>
  
  <p>I was expecting at least "<strong>00 00 00 01</strong>" bytes at the start for the frame data... but this is what I've got..</p>