ffmpeg: remove custom code