title: How to crop AvFrame using ffmpeg's functions
body: <p>I wanna crop a picture by using the ffmpeg's functions(like av_picture_crop or vf_crop), not command line utility.</p>
  
  <p>Is there any one knows how to do it?</p>
  
  <p>Do you have the source code for this function?</p>