title: error: use of undeclared identifier 'avcodec_free_frame'; did you mean 'avcodec_get_name'? avcodec_free_frame(&picture);
body: <p>Trying to install open cv and this erro came up</p>
  
  <p>error: use of undeclared
        identifier 'avcodec_free_frame'; did you mean 'avcodec_get_name'?
          avcodec_free_frame(&amp;picture);
  how do I resolve this?</p>