Fix compat with newer FFmpeg versions.