https://bugs.winehq.org/show_bug.cgi?id=46447
--- Comment #2 from Gero gero45@mr-gero.de --- (In reply to Rosanne DiMesio from comment #1)
Wine Version used: winehq-staging_4.0~rc2 for Debian Testing
That package is old; it predates the switch to the OBS. The OBS Debian Testing builds are definitely built with libavcodec-dev as a build dependency, so please retest in 4.0-rc5.
Note that the Fedora staging packages are not and cannot be built with libavcodec support because Fedora does not provide it.
Well I don't see any newer packages in the official WineHQ-Repository for Debian.