https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115885
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- Unfortunately this is the documented way to use ffmpeg, because it's broken and the devs think that's fine: https://trac.ffmpeg.org/ticket/3626