[ffmpeg] fix shared library versions
Merge pull request #2621 from wsnipex/ffmpeg-lib-versions

[ffmpeg] fix shared library versions (closes #14274)