[tg_owt/f37] Fixed build against ffmpeg 5 (if enabled).