Drop use of deprecated FFmpeg APIs.