be9aed7663
* add support for ffmpeg versions 5.1 & 6.1
* avcodec variable version support
* update for ffmpeg 6.1
* edit comments
---------
Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
[ROCm/rocdecode commit: ab64ac38fa]