lavc: Edge emulation with dst/src linesize