Fix deprecation warnings with recent ffmpeg
Add missing virtual destructor for OptionMapperBase