It looks like the changes were merged into ffmpeg/master on 2022-04-01 which then made it into ffmpeg 5.1.
I don't expect this in Kodi or Libreelec for a release or two though, since it seems like Kodi 20 does not build on ffmpeg > 5 yet (https://github.com/xbmc/xbmc/issues/21766).