title: ffmpeg avcodec_get_frame_defaults was declared deprecated
body: <p>To make ffmpeg simple player</p>
  
  <p>I refer to ffmpeg sample code
  (<a href="https://github.com/phamquy/FFmpeg-tutorial-samples/blob/master/tutorial03.c" rel="nofollow noreferrer">https://github.com/phamquy/FFmpeg-tutorial-samples/blob/master/tutorial03.c</a>)</p>
  
  <p>In window 7 with visual studio 12</p>
  
  <p>First I made cmd-project, all link, and complie is OK</p>
  
  <p>But when I press <kbd>F5</kbd> in vs12</p>
  
  <pre><code>**1&gt;ConsoleApplication1.cpp (141): error C4996: 'avcodec_get_frame_defaults': was declared deprecated
     Failed | ConsoleApplication1\ConsoleApplication1.vcxproj [Debug|x64]**
  </code></pre>
  
  <p>What happen with me?</p>
  
  <p>I download latest ffmpeg DLL again, but noting is changed</p>