<div dir="ltr">Hi,<div>I am trying to upgrade our code to 3.1. There are a lot of warnings about deprecated APIs, like use AVStream.codecpar instead of AVStream.codec, use  avcodec_send_packet()/avcodec_receive_frame() instead of avcodec_decode_video2. Are there any examples how to do the transition? I noticed that all these <a href="https://www.ffmpeg.org/doxygen/3.1/examples.html">examples</a> are still using the old APIs. Should they be updated?</div></div>