3114a240b4
The AVCodecParameters weren't introduced until avcodec version 57.48.101 (FFmpeg version 3.1), so this will make sure to still use the older avcodec_copy_context if the detected FFmpeg version is earlier.