Support AVStream.codec for old FFmpeg versions
Support AVStream.codec for old FFmpeg versions

AVStream.codec has been deprecated in favor of AVStream.codecpar.

Due to the FFmpeg/Libav split, this happened in two separate versions:
 - 57.33.100 for FFmpeg
 - 57.5.0 for Libav

Genymobile/scrcpy,Genymobile/scrcpy,Genymobile/scrcpy